32 lines
1 KiB
Python
32 lines
1 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.10.4 on 2016-12-16 17:53
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('wagtailimages', '0015_fill_filter_spec_field'),
|
|
('pages', '0001_initial'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RenameField(
|
|
model_name='sectionindexpage',
|
|
old_name='intro',
|
|
new_name='body',
|
|
),
|
|
migrations.AddField(
|
|
model_name='sectionindexpage',
|
|
name='image',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='simplecontentpage',
|
|
name='image',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
|
|
),
|
|
]
|