1
0
Fork 0
mirror of https://github.com/Findus23/RPGnotes.git synced 2024-09-19 15:43:45 +02:00

order users

This commit is contained in:
Lukas Winkler 2021-09-29 20:56:02 +02:00
parent 2c9b31b127
commit 66ae8245f9
Signed by: lukas
GPG key ID: 54DE4D798D244853
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,17 @@
# Generated by Django 3.2.7 on 2021-09-29 18:55
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('users', '0002_alter_tenantuser_name'),
]
operations = [
migrations.AlterModelOptions(
name='tenantuser',
options={'ordering': ['name']},
),
]

View file

@ -18,6 +18,9 @@ class TenantUser(UserProfile):
db_index=True,
)
class Meta:
ordering = ["name"]
def __str__(self):
return self.name