diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-16 18:10:46 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-16 18:10:46 +0200 |
commit | 6e1b36a9376559bb015d21114334614aa776c66e (patch) | |
tree | 7b4a85964bac71dff3a0946564774639c0ad6550 /archaeological_operations | |
parent | 9cf5db29e0969cd1b77760a5183354af9d6dbd8e (diff) | |
download | Ishtar-6e1b36a9376559bb015d21114334614aa776c66e.tar.bz2 Ishtar-6e1b36a9376559bb015d21114334614aa776c66e.zip |
Ordering operation types
Diffstat (limited to 'archaeological_operations')
-rw-r--r-- | archaeological_operations/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 02ec1a912..d7dc18b3c 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -38,6 +38,7 @@ class OperationType(GeneralType): class Meta: verbose_name = _(u"Operation type") verbose_name_plural = _(u"Operation types") + ordering = ['label'] @classmethod def is_preventive(cls, ope_type_id, key=''): |