8

Add migrations to the tests.sandbox.pages app

This fixes tests
This commit is contained in:
Michael van Tellingen
2017-05-31 13:51:03 +02:00
committed by Michael van Tellingen
parent 7436384471
commit 9790a44fd1
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-05-31 06:50
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
import wagtail.wagtailcore.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
('wagtail_personalisation', '0008_devicerule'),
]
operations = [
migrations.CreateModel(
name='HomePage',
fields=[
('personalisablepage_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='wagtail_personalisation.PersonalisablePage')),
('subtitle', models.CharField(max_length=255)),
('body', wagtail.wagtailcore.fields.RichTextField(blank=True, default='')),
],
options={
'abstract': False,
},
bases=('wagtail_personalisation.personalisablepage',),
),
]