2018-04-26 18:18:24 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import core.models
|
2019-10-05 22:32:54 +00:00
|
|
|
import django.db.models.deletion
|
2018-04-26 18:18:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
2018-10-04 19:29:19 +00:00
|
|
|
dependencies = [("core", "0028_auto_20171216_2044")]
|
2018-04-26 18:18:24 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2018-10-04 19:29:19 +00:00
|
|
|
model_name="page",
|
|
|
|
name="owner_group",
|
|
|
|
field=models.ForeignKey(
|
2019-10-05 22:32:54 +00:00
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
2018-10-04 19:29:19 +00:00
|
|
|
verbose_name="owner group",
|
|
|
|
default=core.models.Page.get_default_owner_group,
|
|
|
|
related_name="owned_page",
|
|
|
|
to="core.Group",
|
|
|
|
),
|
|
|
|
)
|
2018-04-26 18:18:24 +00:00
|
|
|
]
|