36 lines
1.4 KiB
Python
36 lines
1.4 KiB
Python
|
# Generated by Django 4.2.16 on 2024-10-30 13:18
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('tvorba', '0001_tvorba_create'),
|
||
|
('odevzdavatko', '0004_tvorba_pre'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AlterField(
|
||
|
model_name='hodnoceni',
|
||
|
name='cislo_body',
|
||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='hodnoceni', to='tvorba.cislo', verbose_name='číslo pro body'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='hodnoceni',
|
||
|
name='deadline_body',
|
||
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='hodnoceni', to='tvorba.deadline', verbose_name='deadline pro body'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='hodnoceni',
|
||
|
name='problem',
|
||
|
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='hodnoceni', to='tvorba.problem', verbose_name='problém'),
|
||
|
),
|
||
|
migrations.AlterField(
|
||
|
model_name='reseni',
|
||
|
name='problem',
|
||
|
field=models.ManyToManyField(help_text='Problém', through='odevzdavatko.Hodnoceni', to='tvorba.problem', verbose_name='problém'),
|
||
|
),
|
||
|
]
|