diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-28 15:11:30 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-28 15:11:30 +0200 |
commit | 9d87dd8b7f8dd0fc35500691b2dec589a8da7db1 (patch) | |
tree | e5901b8c6fc38ec2e034e18af7c6d7d31ad011de /ishtar_common/models.py | |
parent | ed013a02316f9ce83df415be4baa5fc494161f2f (diff) | |
download | Ishtar-9d87dd8b7f8dd0fc35500691b2dec589a8da7db1.tar.bz2 Ishtar-9d87dd8b7f8dd0fc35500691b2dec589a8da7db1.zip |
Admin Town: change department display for areas
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r-- | ishtar_common/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py index e862885d0..f6eeab72f 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3855,7 +3855,7 @@ class Area(HierarchicalType): class Meta: verbose_name = _(u"Area") verbose_name_plural = _(u"Areas") - ordering = ('parent__label', 'label') + ordering = ('label',) def __unicode__(self): if not self.reference: |