summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
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
commit41d8e7371da272c990710cf3c0bf0c3c23d93586 (patch)
treee5901b8c6fc38ec2e034e18af7c6d7d31ad011de /ishtar_common/models.py
parenta3395fd5f108bc50d8e8ca51c6edf46c7cc0526b (diff)
downloadIshtar-41d8e7371da272c990710cf3c0bf0c3c23d93586.tar.bz2
Ishtar-41d8e7371da272c990710cf3c0bf0c3c23d93586.zip
Admin Town: change department display for areas
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
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: