diff --git a/project/home/migrations/0005_auto_20161229_1743.py b/project/home/migrations/0005_auto_20161229_1743.py new file mode 100644 index 0000000..bb52f37 --- /dev/null +++ b/project/home/migrations/0005_auto_20161229_1743.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.4 on 2016-12-29 17:43 +from __future__ import unicode_literals + +from django.db import migrations +import wagtail.wagtailcore.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('home', '0004_remove_homepage_image'), + ] + + operations = [ + migrations.AlterField( + model_name='homepage', + name='body', + field=wagtail.wagtailcore.fields.RichTextField(), + ), + ] diff --git a/project/home/models.py b/project/home/models.py index 260ffe7..3d636f5 100755 --- a/project/home/models.py +++ b/project/home/models.py @@ -10,7 +10,7 @@ from project.common.utils import round_to_multiple class HomePage(Entity): is_home = True - body = RichTextField(blank=True) + body = RichTextField() content_panels = Page.content_panels + [ FieldPanel('body', classname="full")