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.
29 lines
926 B
29 lines
926 B
# Generated by Django 2.0.1 on 2018-01-30 08:10
|
|
|
|
from django.db import migrations
|
|
import django.db.models.deletion
|
|
import mptt.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('course', '0016_auto_20180129_1756'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='comment',
|
|
name='parent',
|
|
),
|
|
migrations.AddField(
|
|
model_name='coursecomment',
|
|
name='parent',
|
|
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='children', to='course.CourseComment'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='lessoncomment',
|
|
name='parent',
|
|
field=mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='children', to='course.LessonComment'),
|
|
),
|
|
]
|
|
|