Martin Z. (Zimamazim)
6 years ago
45 changed files with 658 additions and 194 deletions
@ -0,0 +1,71 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.20 on 2019-04-30 21:40 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import galerie.models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('galerie', '0007_obrazek_odstranen_datum'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='galerie', |
|||
name='datum_vytvoreni', |
|||
field=models.DateTimeField(auto_now_add=True, verbose_name='Datum vytvoření'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='galerie', |
|||
name='datum_zmeny', |
|||
field=models.DateTimeField(auto_now=True, verbose_name='Datum poslední změny'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='galerie', |
|||
name='nazev', |
|||
field=models.CharField(max_length=100, verbose_name='Název'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='galerie', |
|||
name='popis', |
|||
field=models.TextField(blank=True, null=True, verbose_name='Popis'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='galerie', |
|||
name='poradi', |
|||
field=models.IntegerField(blank=True, null=True, verbose_name='Pořadí'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='galerie', |
|||
name='zobrazit', |
|||
field=models.IntegerField(choices=[(0, 'Vždy'), (1, 'Organizátorům'), (2, 'Nikdy')], default=1, verbose_name='Zobrazit?'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='obrazek', |
|||
name='datum_vlozeni', |
|||
field=models.DateTimeField(auto_now_add=True, verbose_name='Datum vložení'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='obrazek', |
|||
name='nazev', |
|||
field=models.CharField(blank=True, max_length=50, null=True, verbose_name='Název'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='obrazek', |
|||
name='obrazek_velky', |
|||
field=models.ImageField(help_text='Lze vložit libovolně velký obrázek. Ideální je, aby alespoň jeden rozměr měl alespoň 500px.', upload_to=galerie.models.obrazek_filename), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='obrazek', |
|||
name='popis', |
|||
field=models.TextField(blank=True, null=True, verbose_name='Popis'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='obrazek', |
|||
name='poradi', |
|||
field=models.IntegerField(blank=True, null=True, verbose_name='Pořadí'), |
|||
), |
|||
] |
@ -0,0 +1,31 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.21 on 2019-06-10 21:58 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('galerie', '0008_auto_20190430_2340'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='galerie', |
|||
name='galerie_up', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='galerie.Galerie'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='galerie', |
|||
name='soustredeni', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='seminar.Soustredeni'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='obrazek', |
|||
name='galerie', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='galerie.Galerie'), |
|||
), |
|||
] |
@ -0,0 +1,77 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.20 on 2019-04-30 21:40 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
import django.utils.timezone |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('korektury', '0015_auto_20161004_2005'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='komentar', |
|||
name='cas', |
|||
field=models.DateTimeField(default=django.utils.timezone.now, help_text='Čas zadání komentáře', verbose_name='čas komentáře'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='komentar', |
|||
name='text', |
|||
field=models.TextField(blank=True, help_text='Text komentáře', verbose_name='text komentáře'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='korekturovanepdf', |
|||
name='cas', |
|||
field=models.DateTimeField(default=django.utils.timezone.now, help_text='Čas vložení PDF', verbose_name='čas vložení PDF'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='korekturovanepdf', |
|||
name='komentar', |
|||
field=models.TextField(blank=True, help_text='Komentář ke korekturovanému PDF (např. na co se zaměřit)', verbose_name='komentář k PDF'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='korekturovanepdf', |
|||
name='nazev', |
|||
field=models.CharField(blank=True, help_text='Název (např. 22.1 verze 4) korekturovaného PDF', max_length=50, verbose_name='název PDF'), |
|||
), |
|||
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.CASCADE, to='seminar.Organizator'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='korekturovanepdf', |
|||
name='status', |
|||
field=models.CharField(choices=[('pridavani', 'Přidávání korektur'), ('zanaseni', 'Korektury jsou zanášeny'), ('zastarale', 'Stará verze, nekorigovat')], default='pridavani', max_length=16, verbose_name='stav PDF'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='korekturovanepdf', |
|||
name='stran', |
|||
field=models.IntegerField(default=0, help_text='Počet stran PDF', verbose_name='počet stran'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='oprava', |
|||
name='autor', |
|||
field=models.ForeignKey(blank=True, help_text='Autor opravy', null=True, on_delete=django.db.models.deletion.CASCADE, to='seminar.Organizator'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='oprava', |
|||
name='status', |
|||
field=models.CharField(choices=[('k_oprave', 'K opravě'), ('opraveno', 'Opraveno'), ('neni_chyba', 'Není chyba'), ('k_zaneseni', 'K zanesení do TeXu')], default='k_oprave', max_length=16, verbose_name='stav opravy'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='oprava', |
|||
name='strana', |
|||
field=models.IntegerField(help_text='Strana s opravou (od 0)', verbose_name='strana s opravou'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='oprava', |
|||
name='text', |
|||
field=models.TextField(blank=True, help_text='Text opravy', verbose_name='text opravy'), |
|||
), |
|||
] |
@ -0,0 +1,36 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.21 on 2019-06-10 21:58 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('korektury', '0016_auto_20190430_2340'), |
|||
] |
|||
|
|||
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='seminar.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='seminar.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='seminar.Organizator'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='oprava', |
|||
name='pdf', |
|||
field=models.ForeignKey(default=-1, on_delete=django.db.models.deletion.PROTECT, to='korektury.KorekturovanePDF'), |
|||
), |
|||
] |
@ -0,0 +1,40 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.20 on 2019-04-30 21:40 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('prednasky', '0010_auto_20160929_0508'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='hlasovani', |
|||
name='body', |
|||
field=models.IntegerField(choices=[(-1, '-1'), (0, '0'), (1, '1')], default=0, verbose_name='Body'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='hlasovani', |
|||
name='ucastnik', |
|||
field=models.CharField(max_length=100, verbose_name='Účastník'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='prednaska', |
|||
name='anotace', |
|||
field=models.TextField(blank=True, help_text='Veřejná anotace v hlasování', null=True, verbose_name='Anotace'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='prednaska', |
|||
name='obtiznost', |
|||
field=models.IntegerField(choices=[(1, 'Lehká'), (2, 'Střední'), (3, 'Těžká')], verbose_name='Obtížnost'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='seznam', |
|||
name='stav', |
|||
field=models.IntegerField(choices=[(1, 'Návrh'), (2, 'Bude')], default=1, verbose_name='Stav'), |
|||
), |
|||
] |
@ -0,0 +1,31 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.21 on 2019-06-10 21:58 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('prednasky', '0011_auto_20190430_2340'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='hlasovani', |
|||
name='seznam', |
|||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='prednasky.Seznam'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='prednaska', |
|||
name='org', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Organizator'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='seznam', |
|||
name='soustredeni', |
|||
field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.PROTECT, to='seminar.Soustredeni'), |
|||
), |
|||
] |
@ -0,0 +1,162 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.11.21 on 2019-06-10 21:58 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.conf import settings |
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('seminar', '0063_procisteni_migraci'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='cislo', |
|||
name='rocnik', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='cisla', to='seminar.Rocnik', verbose_name='ročník'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='clanek', |
|||
name='cislo', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='seminar.Cislo', verbose_name='číslo'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='hodnoceni', |
|||
name='cislo_body', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='hodnoceni', to='seminar.Cislo', verbose_name='číslo pro body'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='hodnoceni', |
|||
name='problem', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Problem', verbose_name='problém'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='konfery_ucastnici', |
|||
name='konfera', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='seminar.Konfera', verbose_name='konfera'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='konfery_ucastnici', |
|||
name='resitel', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Resitel', verbose_name='řešitel'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='nastaveni', |
|||
name='aktualni_cislo', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Cislo', verbose_name='poslední vydané číslo'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='nastaveni', |
|||
name='aktualni_rocnik', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Rocnik', verbose_name='aktuální ročník'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='novinky', |
|||
name='autor', |
|||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='seminar.Organizator', verbose_name='Autor novinky'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='organizator', |
|||
name='osoba', |
|||
field=models.OneToOneField(help_text='osobní údaje organizátora', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='org', to='seminar.Osoba', verbose_name='osoba'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='osoba', |
|||
name='user', |
|||
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL, verbose_name='uživatel'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='pohadka', |
|||
name='autor', |
|||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='seminar.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='seminar.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='seminar.Organizator', verbose_name='garant zadaného problému'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='problem', |
|||
name='nadproblem', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='nadproblem_problem', to='seminar.Problem', verbose_name='nadřazený problém'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='reseni', |
|||
name='text_cely', |
|||
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='reseni_cely_set', to='seminar.Text', verbose_name='Plná verze textu řešení'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='reseni_resitele', |
|||
name='resitele', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Resitel', verbose_name='řešitel'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='resitel', |
|||
name='osoba', |
|||
field=models.OneToOneField(null=True, on_delete=django.db.models.deletion.SET_NULL, to='seminar.Osoba', verbose_name='osoba'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='resitel', |
|||
name='skola', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='seminar.Skola', verbose_name='škola'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='skola', |
|||
name='kontaktni_osoba', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='seminar.Osoba', verbose_name='Kontaktní osoba'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='soustredeni', |
|||
name='rocnik', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='soustredeni', to='seminar.Rocnik', verbose_name='ročník'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='soustredeni_organizatori', |
|||
name='organizator', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Organizator', verbose_name='organizátor'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='soustredeni_organizatori', |
|||
name='soustredeni', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Soustredeni', verbose_name='soustředění'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='soustredeni_ucastnici', |
|||
name='resitel', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Resitel', verbose_name='řešitel'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='soustredeni_ucastnici', |
|||
name='soustredeni', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='seminar.Soustredeni', verbose_name='soustředění'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='tema', |
|||
name='rocnik', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='seminar.Rocnik', verbose_name='ročník'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='uloha', |
|||
name='cislo_deadline', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='deadlinove_ulohy', to='seminar.Cislo', verbose_name='číslo deadlinu'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='uloha', |
|||
name='cislo_reseni', |
|||
field=models.ForeignKey(blank=True, help_text='Číslo s řešením úlohy, jen pro úlohy', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='resene_ulohy', to='seminar.Cislo', verbose_name='číslo řešení'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='uloha', |
|||
name='cislo_zadani', |
|||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='zadane_ulohy', to='seminar.Cislo', verbose_name='číslo zadání'), |
|||
), |
|||
] |
Loading…
Reference in new issue