2020-09-27 20:34:39 +02:00
|
|
|
# Generated by Django 3.1.1 on 2020-09-27 17:39
|
2020-09-28 19:21:09 +02:00
|
|
|
from django.conf import settings
|
|
|
|
import django.core.validators
|
2020-09-27 20:34:39 +02:00
|
|
|
from django.db import migrations, models
|
|
|
|
import django.db.models.deletion
|
2020-09-28 19:21:09 +02:00
|
|
|
import easy_thumbnails.fields
|
|
|
|
import lostplaces.models
|
|
|
|
import taggit.managers
|
2020-09-27 20:34:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('lostplaces', '0001_initial'),
|
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Expireable',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
|
|
('created_when', models.DateTimeField(auto_now_add=True)),
|
|
|
|
('expires_when', models.DateTimeField()),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='photoalbum',
|
|
|
|
name='id',
|
|
|
|
field=models.AutoField(auto_created=True, null=True, primary_key=True, serialize=False, verbose_name='ID'),
|
|
|
|
preserve_default=False,
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='photoalbum',
|
|
|
|
name='label',
|
|
|
|
field=models.CharField(null=True, max_length=100),
|
|
|
|
preserve_default=False,
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='photoalbum',
|
|
|
|
name='submitted_by',
|
|
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='photoalbums', to='lostplaces.explorer'),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='photoalbum',
|
|
|
|
name='submitted_when',
|
|
|
|
field=models.DateTimeField(auto_now_add=True, null=True),
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='photoalbum',
|
|
|
|
name='url',
|
|
|
|
field=models.URLField(null=True),
|
|
|
|
preserve_default=False,
|
|
|
|
),
|
|
|
|
migrations.AddField(
|
|
|
|
model_name='voucher',
|
|
|
|
name='expireable_ptr',
|
|
|
|
field=models.OneToOneField(auto_created=True, null=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='lostplaces.expireable'),
|
|
|
|
preserve_default=False,
|
|
|
|
),
|
|
|
|
]
|