Browse Source
Predchozi commit nefunguje, pouzijte tento.remotes/origin/posli-mail-autorovi-korektury
Tomas "Jethro" Pokorny
8 years ago
5 changed files with 92 additions and 25 deletions
@ -0,0 +1,18 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('prednasky', '0003_auto_20160929_0117'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RemoveField( |
|||
model_name='prednaska', |
|||
name='seznam', |
|||
), |
|||
] |
@ -0,0 +1,49 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('seminar', '0041_konfery'), |
|||
('prednasky', '0004_remove_prednaska_seznam'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.CreateModel( |
|||
name='Prednaska_Seznam', |
|||
fields=[ |
|||
('id', models.AutoField(serialize=False, primary_key=True)), |
|||
('prednaska', models.ForeignKey(to='prednasky.Prednaska')), |
|||
], |
|||
options={ |
|||
'db_table': 'prednasky_prednaska_seznam', |
|||
'verbose_name': 'P\u0159edn\xe1\u0161ka v seznamu', |
|||
'verbose_name_plural': 'P\u0159edn\xe1\u0161ky v seznamech', |
|||
}, |
|||
), |
|||
migrations.CreateModel( |
|||
name='Seznam', |
|||
fields=[ |
|||
('id', models.AutoField(serialize=False, primary_key=True)), |
|||
('stav', models.IntegerField(default=2, verbose_name=b'Stav', choices=[(1, b'N\xc3\xa1vrh'), (2, b'Bude')])), |
|||
('soustredeni', models.ForeignKey(default=None, to='seminar.Soustredeni', null=True)), |
|||
], |
|||
options={ |
|||
'ordering': ['soustredeni', 'stav'], |
|||
'db_table': 'prednasky_seznam', |
|||
'verbose_name': 'Seznam p\u0159edn\xe1\u0161ek', |
|||
'verbose_name_plural': 'Seznamy p\u0159edn\xe1\u0161ek', |
|||
}, |
|||
), |
|||
migrations.DeleteModel( |
|||
name='Seznam_old', |
|||
), |
|||
migrations.AddField( |
|||
model_name='prednaska_seznam', |
|||
name='seznam', |
|||
field=models.ForeignKey(to='prednasky.Seznam'), |
|||
), |
|||
] |
Loading…
Reference in new issue