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.
33 lines
1.2 KiB
33 lines
1.2 KiB
5 years ago
|
# 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', '0076_auto_20200228_2013'),
|
||
|
]
|
||
|
|
||
|
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'),
|
||
|
),
|
||
|
]
|