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
parent 728a33f5c3
commit 5f948f9e79

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