mamweb/seminar/migrations/0069_auto_20191120_2115.py

29 lines
899 B
Python
Raw Normal View History

2019-11-20 21:17:15 +01:00
# Generated by Django 2.2.7 on 2019-11-20 20:15
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('seminar', '0068_treenode_nazev'),
]
operations = [
migrations.AlterModelOptions(
name='cislo',
options={'ordering': ['-rocnik__rocnik', '-poradi'], 'verbose_name': 'Číslo', 'verbose_name_plural': 'Čísla'},
),
migrations.RenameField(
model_name='cislo',
old_name='cislo',
new_name='poradi',
),
migrations.AlterField(
model_name='problem',
name='nadproblem',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='podproblem', to='seminar.Problem', verbose_name='nadřazený problém'),
),
]