Removed old poll permissions.
This commit is contained in:
parent
e752e05b0f
commit
b1b5d9cb70
@ -78,12 +78,6 @@ class Poll(models.Model):
|
|||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
return self.title
|
return self.title
|
||||||
|
|
||||||
class Meta:
|
|
||||||
permissions = (
|
|
||||||
('can_view_poll', "Can view polls"),
|
|
||||||
('can_manage_poll', "Can manage polls"),
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class Option(models.Model):
|
class Option(models.Model):
|
||||||
text = models.CharField(max_length=100, null=True, blank=True, verbose_name = _("Text"))
|
text = models.CharField(max_length=100, null=True, blank=True, verbose_name = _("Text"))
|
||||||
|
Loading…
Reference in New Issue
Block a user