diff options
author | Valérie-Emma Leroux <emma@iggdrasil.net> | 2017-02-04 13:12:15 +0100 |
---|---|---|
committer | Valérie-Emma Leroux <emma@iggdrasil.net> | 2017-02-04 13:12:15 +0100 |
commit | e3aafbb55d746c2298a16347a32ecdc85ebe42ea (patch) | |
tree | 3b262328dbcfe39f0f32c76999360e4404f39ac4 /ishtar_common/models.py | |
parent | 127ce1a820558ba219138d32a41f13671fc99386 (diff) | |
download | Ishtar-e3aafbb55d746c2298a16347a32ecdc85ebe42ea.tar.bz2 Ishtar-e3aafbb55d746c2298a16347a32ecdc85ebe42ea.zip |
Admin: Ishtar common: label ordering for Format
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
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) |