From e3aafbb55d746c2298a16347a32ecdc85ebe42ea Mon Sep 17 00:00:00 2001 From: Valérie-Emma Leroux Date: Sat, 4 Feb 2017 13:12:15 +0100 Subject: Admin: Ishtar common: label ordering for Format --- ishtar_common/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 12f286c61..5bad7a63c 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -2852,6 +2852,7 @@ class Format(GeneralType): class Meta: verbose_name = _(u"Format") verbose_name_plural = _(u"Formats") + ordering = ['label'] post_save.connect(post_save_cache, sender=Format) post_delete.connect(post_save_cache, sender=Format) -- cgit v1.2.3