79 lines
2.6 KiB
Python
79 lines
2.6 KiB
Python
# Generated by Django 3.1.1 on 2020-09-27 17:40
|
|
|
|
from django.conf import settings
|
|
import django.core.validators
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
import easy_thumbnails.fields
|
|
import lostplaces.models
|
|
import taggit.managers
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('lostplaces', '0003_migrate_data'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='voucher',
|
|
name='expireable_ptr',
|
|
field=models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='lostplaces.expireable'),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AlterField(
|
|
model_name='photoalbum',
|
|
name='url',
|
|
field=models.URLField(),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AlterField(
|
|
model_name='photoalbum',
|
|
name='label',
|
|
field=models.CharField(max_length=100),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AlterField(
|
|
model_name='photoalbum',
|
|
name='id',
|
|
field=models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
|
|
preserve_default=False,
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='photoalbum',
|
|
name='externallink_ptr',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='voucher',
|
|
name='created_when',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='voucher',
|
|
name='expires_when',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='voucher',
|
|
name='id',
|
|
),
|
|
migrations.AlterField(
|
|
model_name='photoalbum',
|
|
name='place',
|
|
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='photoalbums', to='lostplaces.place'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='place',
|
|
name='submitted_by',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='places', to='lostplaces.explorer'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='placeimage',
|
|
name='submitted_by',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='placeimages', to='lostplaces.explorer'),
|
|
),
|
|
migrations.DeleteModel(
|
|
name='ExternalLink',
|
|
),
|
|
]
|