|
@ -164,7 +164,7 @@ class Migration(migrations.Migration): |
|
|
name='PohadkaNode', |
|
|
name='PohadkaNode', |
|
|
fields=[ |
|
|
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')), |
|
|
('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')), |
|
|
('pohadka', models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='seminar.Pohadka', verbose_name='pohádka')), |
|
|
('pohadka', models.OneToOneField(on_delete=django.db.models.deletion.PROTECT, to='seminar.Pohadka', verbose_name='pohádka')), |
|
|
], |
|
|
], |
|
|
options={ |
|
|
options={ |
|
|
'verbose_name': 'Pohádka (Node)', |
|
|
'verbose_name': 'Pohádka (Node)', |
|
|