2018-04-26 18:18:24 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
import club.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 = [("club", "0010_auto_20170912_2028")]
|
2018-04-26 18:18:24 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AlterField(
|
2018-10-04 19:29:19 +00:00
|
|
|
model_name="club",
|
|
|
|
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
|
|
|
default=club.models.Club.get_default_owner_group,
|
|
|
|
related_name="owned_club",
|
|
|
|
to="core.Group",
|
|
|
|
),
|
|
|
|
)
|
2018-04-26 18:18:24 +00:00
|
|
|
]
|