1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
wagtail-website-2018-spike/project/home/migrations/0003_auto_20180724_1934.py

44 lines
1.4 KiB
Python

# Generated by Django 2.0.7 on 2018-07-24 19:34
from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import wagtail.core.fields
class Migration(migrations.Migration):
dependencies = [
('wagtailimages', '0020_add-verbose-name'),
('home', '0002_create_homepage'),
]
operations = [
migrations.AddField(
model_name='homepage',
name='body',
field=wagtail.core.fields.RichTextField(default=''),
preserve_default=False,
),
migrations.AddField(
model_name='homepage',
name='created',
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
preserve_default=False,
),
migrations.AddField(
model_name='homepage',
name='modified',
field=models.DateTimeField(auto_now=True),
),
migrations.AddField(
model_name='homepage',
name='post_date',
field=models.DateTimeField(blank=True, null=True),
),
migrations.AddField(
model_name='homepage',
name='search_image',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
),
]