Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
3.4 KiB
71 lines
3.4 KiB
# -*- 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,
|
|
),
|
|
]
|
|
|