Switch back to ordering sites by name, since sites like Pocket have weird domain names and therefore sort weirdly if you go by domain

pull/1/head
Danielle McLean 5 years ago
parent 2231c3644c
commit 97f52a713b
Signed by: 00dani
GPG Key ID: 5A5D2D1AFF12EEC5

@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.7 on 2017-12-06 11:11
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('users', '0009_user_xmpp'),
]
operations = [
migrations.AlterModelOptions(
name='site',
options={'ordering': ('name',)},
),
]

@ -27,7 +27,7 @@ class Site(models.Model):
return self.name
class Meta:
ordering = ('domain',)
ordering = ('name',)
class User(ModelMeta, AbstractUser):

Loading…
Cancel
Save