Default sort order for tags to use 'name'

This commit is contained in:
Daniel Quinn 2018-09-02 20:56:45 +01:00
parent f1e1bb4deb
commit 7db4410c1b

View File

@ -59,6 +59,7 @@ class MatchingModel(models.Model):
class Meta:
abstract = True
ordering = ("name",)
def __str__(self):
return self.name