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:
Norman Jäckel 2013-11-13 19:29:54 +01:00 committed by Oskar Hahn
parent 0d4c48a9c0
commit 9dc73fa6de

View File

@ -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
)
ordering = ('name',)
verbose_name = ugettext_noop('Assignment')
def __unicode__(self):
return self.name