Merge pull request #1057 from normanjaeckel/TransAssignmentString

Verbose name of Assignment inserted, fixed #1036
This commit is contained in:
Oskar Hahn 2013-11-14 06:41:02 -08:00
commit ffb63f43a3

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 ('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