Pavel 'LEdoian' Turinsky
8 months ago
13 changed files with 180 additions and 24 deletions
@ -0,0 +1,30 @@ |
|||
# Generated by Django 4.2.11 on 2024-03-19 21:35 |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('personalni', '0003_initial'), |
|||
('korektury', '0021_auto_20240312_2124'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='komentar', |
|||
name='autor', |
|||
field=models.ForeignKey(blank=True, help_text='Autor komentáře', null=True, on_delete=django.db.models.deletion.SET_NULL, to='personalni.organizator'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='korekturovanepdf', |
|||
name='org', |
|||
field=models.ForeignKey(blank=True, default=None, help_text='Zodpovědný organizátor za obsah', null=True, on_delete=django.db.models.deletion.SET_NULL, to='personalni.organizator'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='oprava', |
|||
name='autor', |
|||
field=models.ForeignKey(blank=True, help_text='Autor opravy', null=True, on_delete=django.db.models.deletion.SET_NULL, to='personalni.organizator'), |
|||
), |
|||
] |
@ -0,0 +1,20 @@ |
|||
# Generated by Django 4.2.11 on 2024-03-19 21:35 |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('personalni', '0003_initial'), |
|||
('prednasky', '0013_auto_20240312_2124'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='prednaska', |
|||
name='org', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='personalni.organizator'), |
|||
), |
|||
] |
@ -0,0 +1,85 @@ |
|||
# Generated by Django 4.2.11 on 2024-03-19 21:35 |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('personalni', '0003_initial'), |
|||
('seminar', '0118_alter_organizator_options_alter_osoba_options_and_more'), |
|||
] |
|||
|
|||
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_%(class)s', 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_%(class)s', 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_%(class)s', 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'), |
|||
), |
|||
] |
@ -1,10 +1,10 @@ |
|||
from .tvorba import * |
|||
from .odevzdavatko import * |
|||
from .base import * |
|||
from .personalni import * |
|||
from .soustredeni import * |
|||
from .pomocne import * |
|||
from .treenode import * |
|||
from .novinky import * |
|||
|
|||
from various.models import Nastaveni |
|||
from personalni.models import Organizator, Resitel, Skola, Prijemce, Osoba |
|||
|
@ -0,0 +1,20 @@ |
|||
# Generated by Django 4.2.11 on 2024-03-19 21:35 |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('personalni', '0003_initial'), |
|||
('sifrovacka', '0004_auto_20240312_2124'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='odpoveducastnika', |
|||
name='resitel', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='personalni.resitel'), |
|||
), |
|||
] |
Loading…
Reference in new issue