Verbose name of Assignment inserted, fixed #1036
It is neccessary to refresh the database table for the content types, e. g. by deleting the database and runing syncdb.
This commit is contained in:
parent
728a33f5c3
commit
5f948f9e79
@ -62,6 +62,7 @@ class Assignment(SlideMixin, models.Model):
|
|||||||
('can_manage_assignment', ugettext_noop('Can manage assignments')), # TODO: Add plural s also to the codestring
|
('can_manage_assignment', ugettext_noop('Can manage assignments')), # TODO: Add plural s also to the codestring
|
||||||
)
|
)
|
||||||
ordering = ('name',)
|
ordering = ('name',)
|
||||||
|
verbose_name = ugettext_noop('Assignment')
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
Loading…
Reference in New Issue
Block a user