Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94 lines
4.8 KiB
94 lines
4.8 KiB
# Generated by Django 2.2.28 on 2023-07-31 17:54
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('seminar', '0114_prejmenovani_tabulek'),
|
|
('personalni', '0002_initial'),
|
|
]
|
|
|
|
run_before = [
|
|
('seminar', '0116_smazani_personalniho'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.SeparateDatabaseAndState(
|
|
state_operations=[
|
|
migrations.AlterField(
|
|
model_name='konfera',
|
|
name='ucastnici',
|
|
field=models.ManyToManyField(help_text='Seznam účastníků konfery', through='seminar.Konfery_Ucastnici', to='personalni.Resitel', verbose_name='účastníci konfery'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='konfery_ucastnici',
|
|
name='resitel',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='personalni.Resitel', verbose_name='řešitel'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='novinky',
|
|
name='autor',
|
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='personalni.Organizator', verbose_name='Autor novinky'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='orgtextnode',
|
|
name='organizator',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='personalni.Organizator', verbose_name='Organizátor'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='pohadka',
|
|
name='autor',
|
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='personalni.Organizator', verbose_name='Autor pohádky'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='problem',
|
|
name='autor',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='autor_problemu_problem', to='personalni.Organizator', verbose_name='autor problému'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='problem',
|
|
name='garant',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='garant_problemu_problem', to='personalni.Organizator', verbose_name='garant zadaného problému'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='problem',
|
|
name='opravovatele',
|
|
field=models.ManyToManyField(blank=True, related_name='opravovatele_problem', to='personalni.Organizator', verbose_name='opravovatelé'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='reseni',
|
|
name='resitele',
|
|
field=models.ManyToManyField(help_text='Seznam autorů řešení', through='seminar.Reseni_Resitele', to='personalni.Resitel', verbose_name='autoři řešení'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='reseni_resitele',
|
|
name='resitele',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='personalni.Resitel', verbose_name='řešitel'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='soustredeni',
|
|
name='organizatori',
|
|
field=models.ManyToManyField(help_text='Seznam organizátorů soustředění', through='seminar.Soustredeni_Organizatori', to='personalni.Organizator', verbose_name='Organizátoři soustředění'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='soustredeni',
|
|
name='ucastnici',
|
|
field=models.ManyToManyField(help_text='Seznam účastníků soustředění', through='seminar.Soustredeni_Ucastnici', to='personalni.Resitel', verbose_name='účastníci soustředění'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='soustredeni_organizatori',
|
|
name='organizator',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='personalni.Organizator', verbose_name='organizátor'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='soustredeni_ucastnici',
|
|
name='resitel',
|
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='personalni.Resitel', verbose_name='řešitel'),
|
|
),
|
|
],
|
|
database_operations=[],
|
|
),
|
|
]
|
|
|