diff options
author | Valérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net> | 2017-02-03 20:22:25 +0100 |
---|---|---|
committer | Valérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net> | 2017-02-03 20:22:25 +0100 |
commit | d9c0c422495b8eb1efac6d9296e182dae3cbdfd1 (patch) | |
tree | 116bc2d64e96371009915e40aa8d29615528c426 /archaeological_context_records/models.py | |
parent | 0cfaad8faa6505a28d1c8662c1e58f9616a7beeb (diff) | |
download | Ishtar-d9c0c422495b8eb1efac6d9296e182dae3cbdfd1.tar.bz2 Ishtar-d9c0c422495b8eb1efac6d9296e182dae3cbdfd1.zip |
Admin: Archaeological context records: modify display and label ordering for Unit and IdentificationType
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r-- | archaeological_context_records/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 75074c514..ad6c1a378 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -82,7 +82,7 @@ class Unit(GeneralType): class Meta: verbose_name = _(u"Unit Type") verbose_name_plural = _(u"Unit Types") - ordering = ('order',) + ordering = ('order', 'label') def __unicode__(self): return self.label |