Switch back to ordering sites by name, since sites like Pocket have weird domain names and therefore sort weirdly if you go by domain
This commit is contained in:
parent
2231c3644c
commit
97f52a713b
2 changed files with 20 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ class Site(models.Model):
|
|||
return self.name
|
||||
|
||||
class Meta:
|
||||
ordering = ('domain',)
|
||||
ordering = ('name',)
|
||||
|
||||
|
||||
class User(ModelMeta, AbstractUser):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue