Tomas Gavenciak
10 years ago
4 changed files with 75 additions and 111 deletions
@ -1,71 +0,0 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('seminar', '0002_add_body_views'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.CreateModel( |
|||
name='VysledkyKCislu', |
|||
fields=[ |
|||
('dummy_id', models.CharField(max_length=32, serialize=False, verbose_name='dummy ID pro view', primary_key=True, db_column=b'id')), |
|||
('body', models.IntegerField(verbose_name='body za \u010d\xedslo', db_column=b'body')), |
|||
('body_celkem', models.IntegerField(verbose_name='body celkem do \u010d\xedsla', db_column=b'body_celkem')), |
|||
], |
|||
options={ |
|||
'abstract': False, |
|||
'db_table': 'seminar_body_k_cislu', |
|||
'managed': False, |
|||
}, |
|||
bases=(models.Model,), |
|||
), |
|||
migrations.CreateModel( |
|||
name='VysledkyZaCislo', |
|||
fields=[ |
|||
('dummy_id', models.CharField(max_length=32, serialize=False, verbose_name='dummy ID pro view', primary_key=True, db_column=b'id')), |
|||
('body', models.IntegerField(verbose_name='body za \u010d\xedslo', db_column=b'body')), |
|||
], |
|||
options={ |
|||
'abstract': False, |
|||
'db_table': 'seminar_body_za_cislo', |
|||
'managed': False, |
|||
}, |
|||
bases=(models.Model,), |
|||
), |
|||
migrations.CreateModel( |
|||
name='Soustredeni', |
|||
fields=[ |
|||
('id', models.AutoField(serialize=False, primary_key=True)), |
|||
('datum_zacatku', models.DateField(help_text='Prvn\xed den soust\u0159ed\u011bn\xed', null=True, verbose_name='datum za\u010d\xe1tku', blank=True)), |
|||
('datum_konce', models.DateField(help_text='Posledn\xed den soust\u0159ed\u011bn\xed', null=True, verbose_name='datum konce', blank=True)), |
|||
('misto', models.CharField(default=b'', help_text='M\xedsto (n\xe1zev obce, voliteln\u011b t\xe9\u017e objektu', max_length=256, verbose_name='m\xedsto soust\u0159ed\u011bn\xed', blank=True)), |
|||
('rocnik', models.ForeignKey(related_name='soustredeni', verbose_name='ro\u010dn\xedk', to='seminar.Rocnik')), |
|||
('ucastnici', models.ManyToManyField(help_text='Seznam \xfa\u010dastn\xedk\u016f soust\u0159ed\u011bn\xed', to='seminar.Resitel', db_table=b'seminar_soustredeni_ucastnici', verbose_name='\xfa\u010dastn\xedci soust\u0159ed\u011bn\xed')), |
|||
], |
|||
options={ |
|||
'ordering': ['rocnik__rocnik', 'datum_zacatku'], |
|||
'db_table': 'seminar_soustredeni', |
|||
'verbose_name': 'Soust\u0159ed\u011bn\xed', |
|||
'verbose_name_plural': 'Soust\u0159ed\u011bn\xed', |
|||
}, |
|||
bases=(models.Model,), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='cislo', |
|||
name='cislo', |
|||
field=models.CharField(help_text='V\u011bt\u0161inou jen "1", vyj\xedme\u010dn\u011b "7-8", lexikograficky ur\u010dije po\u0159ad\xed v ro\u010dn\xedku!', max_length=32, verbose_name='n\xe1zev \u010d\xedsla'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AlterField( |
|||
model_name='cislo', |
|||
name='rocnik', |
|||
field=models.ForeignKey(related_name='cisla', verbose_name='ro\u010dn\xedk', to='seminar.Rocnik'), |
|||
preserve_default=True, |
|||
), |
|||
] |
@ -1,38 +0,0 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import models, migrations |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('seminar', '0003_auto_20150511_0947'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='cislo', |
|||
name='verejne_db', |
|||
field=models.BooleanField(default=False, verbose_name='\u010d\xedslo zve\u0159ejn\u011bno', db_column=b'verejne'), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AddField( |
|||
model_name='reseni', |
|||
name='poznamka', |
|||
field=models.TextField(help_text='Neve\u0159ejn\xe1 pozn\xe1mka k \u0159e\u0161en\xed (plain text)', verbose_name='neve\u0159ejn\xe1 pozn\xe1mka', blank=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AddField( |
|||
model_name='resitel', |
|||
name='poznamka', |
|||
field=models.TextField(help_text='Neve\u0159ejn\xe1 pozn\xe1mka k \u0159e\u0161iteli (plain text)', verbose_name='neve\u0159ejn\xe1 pozn\xe1mka', blank=True), |
|||
preserve_default=True, |
|||
), |
|||
migrations.AddField( |
|||
model_name='soustredeni', |
|||
name='verejne_db', |
|||
field=models.BooleanField(default=False, verbose_name='soust\u0159ed\u011bn\xed zve\u0159ejn\u011bno', db_column=b'verejne'), |
|||
preserve_default=True, |
|||
), |
|||
] |
Loading…
Reference in new issue