Migrations to order right
This commit is contained in:
parent
c86765983d
commit
684ce62695
2 changed files with 39 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
||||||
|
# Generated by Django 4.2.4 on 2023-08-12 12:57
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('bird', '0001_initial'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='bird',
|
||||||
|
options={'ordering': ['name'], 'verbose_name': 'Vogel', 'verbose_name_plural': 'Vögel'},
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='fallenbird',
|
||||||
|
name='age',
|
||||||
|
field=models.CharField(choices=[('unbekannt', 'unbekannt'), ('Ei', 'Ei'), ('Nestling', 'Nestling'), ('Ästling', 'Ästling'), ('Juvenil', 'Juvenil'), ('Adult', 'Adult')], max_length=15, verbose_name='Alter'),
|
||||||
|
),
|
||||||
|
]
|
17
app/rescuer/migrations/0002_alter_rescuer_options.py
Normal file
17
app/rescuer/migrations/0002_alter_rescuer_options.py
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Generated by Django 4.2.4 on 2023-08-12 12:57
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('rescuer', '0001_initial'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='rescuer',
|
||||||
|
options={'ordering': ['last_name'], 'verbose_name': 'Finder', 'verbose_name_plural': 'Finder'},
|
||||||
|
),
|
||||||
|
]
|
Loading…
Add table
Add a link
Reference in a new issue