Correction du tri des consoles par nom

This commit is contained in:
Olivier DOSSMANN 2017-08-25 13:02:10 +01:00
parent bd326cd846
commit fdc4e36da7

View File

@ -11,6 +11,7 @@ class Console(Collection):
return '%s' % self.name
class Meta:
ordering = ('name',)
verbose_name = _('console')
verbose_name_plural = _('consoles')
@ -67,5 +68,6 @@ class Timeline(BaseTimeline):
DEFAULT_CHOICE = Item.DEFAULT_CHOICE
class Meta:
ordering = ('-date',)
verbose_name = _('Timeline')
verbose_name_plural = _('Timelines')