2017-09-12 19:10:32 +00:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2024-06-24 11:07:36 +00:00
|
|
|
import django.db.models.deletion
|
2017-09-12 19:10:32 +00:00
|
|
|
from django.db import migrations, models
|
2017-09-17 15:35:47 +00:00
|
|
|
|
2017-09-12 19:10:32 +00:00
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
2018-10-04 19:29:19 +00:00
|
|
|
dependencies = [("core", "0024_auto_20170906_1317"), ("club", "0010_club_logo")]
|
2017-09-12 19:10:32 +00:00
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.AddField(
|
2018-10-04 19:29:19 +00:00
|
|
|
model_name="club",
|
|
|
|
name="is_active",
|
|
|
|
field=models.BooleanField(default=True, verbose_name="is active"),
|
2017-09-12 19:10:32 +00:00
|
|
|
),
|
|
|
|
migrations.AddField(
|
2018-10-04 19:29:19 +00:00
|
|
|
model_name="club",
|
|
|
|
name="page",
|
|
|
|
field=models.OneToOneField(
|
2019-10-05 22:38:25 +00:00
|
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
|
|
related_name="club",
|
|
|
|
blank=True,
|
|
|
|
null=True,
|
|
|
|
to="core.Page",
|
2018-10-04 19:29:19 +00:00
|
|
|
),
|
2017-09-12 19:10:32 +00:00
|
|
|
),
|
2017-09-26 14:07:49 +00:00
|
|
|
migrations.AddField(
|
2018-10-04 19:29:19 +00:00
|
|
|
model_name="club",
|
|
|
|
name="short_description",
|
|
|
|
field=models.CharField(
|
|
|
|
verbose_name="short description",
|
|
|
|
max_length=1000,
|
|
|
|
default="",
|
|
|
|
blank=True,
|
|
|
|
null=True,
|
|
|
|
),
|
|
|
|
),
|
2017-09-12 19:10:32 +00:00
|
|
|
]
|