Resolve name objects ordering order clashes by ordering by .name. Most

are ordered, but we have a few without a natural order, and
alphabetical helps a bit when debugging those.
 - Legacy-Id: 11336
This commit is contained in:
Ole Laursen 2016-06-13 09:48:37 +00:00
parent fdfc0bc8f5
commit 5757f65598

View file

@ -14,7 +14,7 @@ class NameModel(models.Model):
class Meta:
abstract = True
ordering = ['order']
ordering = ['order', 'name']
class GroupStateName(NameModel):
"""BOF, Proposed, Active, Dormant, Concluded, Abandoned"""