Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

Commit

Permalink
Default sort order for tags to use 'name'
Browse files Browse the repository at this point in the history
  • Loading branch information
danielquinn committed Sep 2, 2018
1 parent f1e1bb4 commit 7db4410
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/documents/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class MatchingModel(models.Model):

class Meta:
abstract = True
ordering = ("name",)

def __str__(self):
return self.name
Expand Down

0 comments on commit 7db4410

Please sign in to comment.