summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorValérie-Emma Leroux <emma@iggdrasil.net>2016-07-14 00:29:38 +0200
committerValérie-Emma Leroux <emma@iggdrasil.net>2016-07-14 00:29:38 +0200
commit6b2a418e48e838b67a6a4ef3559b5c3ab2936272 (patch)
tree4a7cb7c5fe0ec9b1aac7300a9a59c3b4fb23f156 /archaeological_context_records/models.py
parent322ee3f51598f45cac01ce00c77389926d2e464a (diff)
downloadIshtar-6b2a418e48e838b67a6a4ef3559b5c3ab2936272.tar.bz2
Ishtar-6b2a418e48e838b67a6a4ef3559b5c3ab2936272.zip
Identificationtype: ordering by label
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 5b22fb7f7..38c65a24a 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -99,7 +99,7 @@ class IdentificationType(GeneralType):
class Meta:
verbose_name = _(u"Identification Type")
verbose_name_plural = _(u"Identification Types")
- ordering = ('order',)
+ ordering = ('order', 'label')
def __unicode__(self):
return self.label