|
|
|
# Generated by Django 2.2.9 on 2020-03-18 20:46
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('seminar', '0066b_orgtextnode'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='CastNode',
|
|
|
|
fields=[
|
|
|
|
('treenode_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='seminar.TreeNode')),
|
|
|
|
('nadpis', models.CharField(help_text='Nadpis podvěšené části obsahu', max_length=100, verbose_name='Nadpis')),
|
|
|
|
],
|
|
|
|
options={
|
|
|
|
'verbose_name': 'Část (Node)',
|
|
|
|
'verbose_name_plural': 'Části (Node)',
|
|
|
|
'db_table': 'seminar_nodes_cast',
|
|
|
|
},
|
|
|
|
bases=('seminar.treenode',),
|
|
|
|
),
|
|
|
|
migrations.AlterField(
|
|
|
|
model_name='treenode',
|
|
|
|
name='first_child',
|
|
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='father_of_first', to='seminar.TreeNode', verbose_name='první potomek'),
|
|
|
|
),
|
|
|
|
]
|