123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- # -*- coding: utf-8 -*-
- # Generated by Django 1.10.5 on 2017-02-28 15:55
- from __future__ import unicode_literals
- from django.db import migrations, models
- import django.db.models.deletion
- import wagtail.wagtailcore.fields
- class Migration(migrations.Migration):
- dependencies = [
- ('wagtailcore', '0032_add_bulk_delete_page_permission'),
- ('wagtailimages', '0018_remove_rendition_filter'),
- ('base', '0014_merge_20170228_0902'),
- ]
- operations = [
- migrations.AddField(
- model_name='homepage',
- name='featured_section_1',
- field=models.ForeignKey(blank=True, help_text='First featured section for the homepage. Will display up to three child items.', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailcore.Page', verbose_name='Featured section 1'),
- ),
- migrations.AddField(
- model_name='homepage',
- name='featured_section_1_title',
- field=models.CharField(blank=True, help_text='Title to display above the promo copy', max_length=255, null=True),
- ),
- migrations.AddField(
- model_name='homepage',
- name='featured_section_2',
- field=models.ForeignKey(blank=True, help_text='Second featured section for the homepage. Will display up to three child items.', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailcore.Page', verbose_name='Featured section 2'),
- ),
- migrations.AddField(
- model_name='homepage',
- name='featured_section_2_title',
- field=models.CharField(blank=True, help_text='Title to display above the promo copy', max_length=255, null=True),
- ),
- migrations.AddField(
- model_name='homepage',
- name='featured_section_3',
- field=models.ForeignKey(blank=True, help_text='Third featured section for the homepage. Will display up to six child items.', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailcore.Page', verbose_name='Featured section 3'),
- ),
- migrations.AddField(
- model_name='homepage',
- name='featured_section_3_title',
- field=models.CharField(blank=True, help_text='Title to display above the promo copy', max_length=255, null=True),
- ),
- migrations.AddField(
- model_name='homepage',
- name='hero_cta',
- field=models.CharField(default='', help_text='Text to display on CTA', max_length=255),
- preserve_default=False,
- ),
- migrations.AddField(
- model_name='homepage',
- name='hero_cta_link',
- field=models.ForeignKey(blank=True, help_text='Choose a page to link to for the CTA', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailcore.Page'),
- ),
- migrations.AddField(
- model_name='homepage',
- name='hero_text',
- field=models.CharField(default='', help_text='Write an introduction for the bakery', max_length=255),
- preserve_default=False,
- ),
- migrations.AddField(
- model_name='homepage',
- name='promo_image',
- field=models.ForeignKey(blank=True, help_text='Promo image', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
- ),
- migrations.AddField(
- model_name='homepage',
- name='promo_text',
- field=wagtail.wagtailcore.fields.RichTextField(blank=True, help_text='Write some promotional copy', null=True),
- ),
- migrations.AddField(
- model_name='homepage',
- name='promo_title',
- field=models.CharField(blank=True, help_text='Title to display above the promo copy', max_length=255, null=True),
- ),
- ]
|