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:
parent
fdfc0bc8f5
commit
5757f65598
|
@ -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"""
|
||||
|
|
Loading…
Reference in a new issue