Merge pull request #1057 from normanjaeckel/TransAssignmentString
Verbose name of Assignment inserted, fixed #1036
This commit is contained in:
commit
ffb63f43a3
@ -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