diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-02-04 18:00:14 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-02-04 18:00:14 +0100 |
| commit | 39a6d152069dcf13270a89aac63fd8d3915ab392 (patch) | |
| tree | 029b432d4fd0c9dc8642a8407e8a3d70f05387cb /archaeological_context_records/models.py | |
| parent | 070a9f52e2d6f400ba581240b1aa2b8ca52adbcd (diff) | |
| parent | 6979f76c94daae084eb0c5525e1a65734c97555f (diff) | |
| download | Ishtar-39a6d152069dcf13270a89aac63fd8d3915ab392.tar.bz2 Ishtar-39a6d152069dcf13270a89aac63fd8d3915ab392.zip | |
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'archaeological_context_records/models.py')
| -rw-r--r-- | archaeological_context_records/models.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 75074c514..9714673e6 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -44,8 +44,8 @@ post_delete.connect(post_save_cache, sender=DatingType) class DatingQuality(GeneralType): class Meta: - verbose_name = _(u"Dating quality") - verbose_name_plural = _(u"Dating qualities") + verbose_name = _(u"Dating quality type") + verbose_name_plural = _(u"Dating quality types") ordering = ('label',) post_save.connect(post_save_cache, sender=DatingQuality) post_delete.connect(post_save_cache, sender=DatingQuality) @@ -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 |
