2018-04-26 18:18:24 +00:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2024-06-24 11:07:36 +00:00
|
|
|
import django.db.models.deletion
|
2018-04-26 18:18:24 +00:00
|
|
|
from django.db import migrations, models
|
2024-06-24 11:07:36 +00:00
|
|
|
|
2018-04-26 18:18:24 +00:00
|
|
|
import club.models
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
]
|