mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 18:31:09 -05:00
53 lines
1.6 KiB
Python
53 lines
1.6 KiB
Python
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
('cities_light', '0001_initial'),
|
|
('parks', '0013_fix_null_locations'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='historicalpark',
|
|
name='city',
|
|
field=models.ForeignKey(
|
|
blank=True,
|
|
db_constraint=False,
|
|
null=True,
|
|
on_delete=django.db.models.deletion.DO_NOTHING,
|
|
related_name='+',
|
|
to='cities_light.city'
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='historicalpark',
|
|
name='region',
|
|
field=models.ForeignKey(
|
|
blank=True,
|
|
db_constraint=False,
|
|
null=True,
|
|
on_delete=django.db.models.deletion.DO_NOTHING,
|
|
related_name='+',
|
|
to='cities_light.region'
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='historicalpark',
|
|
name='country',
|
|
field=models.ForeignKey(
|
|
blank=True,
|
|
db_constraint=False,
|
|
null=True,
|
|
on_delete=django.db.models.deletion.DO_NOTHING,
|
|
related_name='+',
|
|
to='cities_light.country'
|
|
),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='historicalpark',
|
|
name='location',
|
|
field=models.CharField(max_length=255, blank=True, null=True),
|
|
),
|
|
]
|