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.
theorangeone.net-legacy/project/pages/migrations/0002_auto_20161216_1753.py

33 lines
1 KiB
Python
Raw Permalink Normal View History

# -*- 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'),
),
]