Pavel "LEdoian" Turinsky
5 years ago
3 changed files with 42 additions and 1 deletions
@ -0,0 +1,20 @@ |
|||||
|
# Generated by Django 2.2.4 on 2019-08-13 19:36 |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
import django.db.models.deletion |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('contenttypes', '0002_remove_content_type_name'), |
||||
|
('seminar', '0001_initial'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AddField( |
||||
|
model_name='treenode', |
||||
|
name='polymorphic_ctype', |
||||
|
field=models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='polymorphic_seminar.treenode_set+', to='contenttypes.ContentType'), |
||||
|
), |
||||
|
] |
@ -0,0 +1,20 @@ |
|||||
|
# Generated by Django 2.2.4 on 2019-08-13 19:45 |
||||
|
|
||||
|
from django.db import migrations, models |
||||
|
import django.db.models.deletion |
||||
|
|
||||
|
|
||||
|
class Migration(migrations.Migration): |
||||
|
|
||||
|
dependencies = [ |
||||
|
('contenttypes', '0002_remove_content_type_name'), |
||||
|
('seminar', '0002_treenode_polymorphic_ctype'), |
||||
|
] |
||||
|
|
||||
|
operations = [ |
||||
|
migrations.AddField( |
||||
|
model_name='problem', |
||||
|
name='polymorphic_ctype', |
||||
|
field=models.ForeignKey(editable=False, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='polymorphic_seminar.problem_set+', to='contenttypes.ContentType'), |
||||
|
), |
||||
|
] |
Loading…
Reference in new issue