Pavel 'LEdoian' Turinsky
5 years ago
3 changed files with 42 additions and 0 deletions
Binary file not shown.
@ -0,0 +1,32 @@ |
|||
# 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'), |
|||
), |
|||
] |
Loading…
Reference in new issue