Web M&M
https://mam.matfyz.cz
28 lines
1.2 KiB
28 lines
1.2 KiB
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('seminar', '0036_add_org_to_soustredeni'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Prispevek',
|
|
fields=[
|
|
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
|
('nazev', models.CharField(max_length=200, verbose_name=b'N\xc3\xa1zev')),
|
|
('text_org', models.TextField(null=True, verbose_name=b'Orgovsk\xc3\xbd text', blank=True)),
|
|
('text_resitel', models.TextField(null=True, verbose_name=b'\xc5\x98e\xc5\xa1itelsk\xc3\xbd text', blank=True)),
|
|
('zverejnit', models.BooleanField(verbose_name=b'Zve\xc5\x99ejnit?')),
|
|
('problem', models.ForeignKey(verbose_name=b'Probl\xc3\xa9m', to='seminar.Problem', on_delete=models.CASCADE)),
|
|
('reseni', models.OneToOneField(null=True, blank=True, to='seminar.Reseni', verbose_name=b'\xc5\x98e\xc5\xa1en\xc3\xad', on_delete=models.CASCADE)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
),
|
|
]
|
|
|