0015_auto_20170228_1555.py 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. # -*- coding: utf-8 -*-
  2. # Generated by Django 1.10.5 on 2017-02-28 15:55
  3. from __future__ import unicode_literals
  4. from django.db import migrations, models
  5. import django.db.models.deletion
  6. import wagtail.wagtailcore.fields
  7. class Migration(migrations.Migration):
  8. dependencies = [
  9. ('wagtailcore', '0032_add_bulk_delete_page_permission'),
  10. ('wagtailimages', '0018_remove_rendition_filter'),
  11. ('base', '0014_merge_20170228_0902'),
  12. ]
  13. operations = [
  14. migrations.AddField(
  15. model_name='homepage',
  16. name='featured_section_1',
  17. 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'),
  18. ),
  19. migrations.AddField(
  20. model_name='homepage',
  21. name='featured_section_1_title',
  22. field=models.CharField(blank=True, help_text='Title to display above the promo copy', max_length=255, null=True),
  23. ),
  24. migrations.AddField(
  25. model_name='homepage',
  26. name='featured_section_2',
  27. 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'),
  28. ),
  29. migrations.AddField(
  30. model_name='homepage',
  31. name='featured_section_2_title',
  32. field=models.CharField(blank=True, help_text='Title to display above the promo copy', max_length=255, null=True),
  33. ),
  34. migrations.AddField(
  35. model_name='homepage',
  36. name='featured_section_3',
  37. 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'),
  38. ),
  39. migrations.AddField(
  40. model_name='homepage',
  41. name='featured_section_3_title',
  42. field=models.CharField(blank=True, help_text='Title to display above the promo copy', max_length=255, null=True),
  43. ),
  44. migrations.AddField(
  45. model_name='homepage',
  46. name='hero_cta',
  47. field=models.CharField(default='', help_text='Text to display on CTA', max_length=255),
  48. preserve_default=False,
  49. ),
  50. migrations.AddField(
  51. model_name='homepage',
  52. name='hero_cta_link',
  53. 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'),
  54. ),
  55. migrations.AddField(
  56. model_name='homepage',
  57. name='hero_text',
  58. field=models.CharField(default='', help_text='Write an introduction for the bakery', max_length=255),
  59. preserve_default=False,
  60. ),
  61. migrations.AddField(
  62. model_name='homepage',
  63. name='promo_image',
  64. field=models.ForeignKey(blank=True, help_text='Promo image', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='wagtailimages.Image'),
  65. ),
  66. migrations.AddField(
  67. model_name='homepage',
  68. name='promo_text',
  69. field=wagtail.wagtailcore.fields.RichTextField(blank=True, help_text='Write some promotional copy', null=True),
  70. ),
  71. migrations.AddField(
  72. model_name='homepage',
  73. name='promo_title',
  74. field=models.CharField(blank=True, help_text='Title to display above the promo copy', max_length=255, null=True),
  75. ),
  76. ]