actually commit migrations
This commit is contained in:
parent
7f9fe866f3
commit
5253b2838c
2 changed files with 50 additions and 0 deletions
25
project/blog/migrations/0002_auto_20161208_1112.py
Normal file
25
project/blog/migrations/0002_auto_20161208_1112.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.4 on 2016-12-08 11:12
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
import wagtail.wagtailcore.blocks
|
||||
import wagtail.wagtailcore.fields
|
||||
import wagtail.wagtaildocs.blocks
|
||||
import wagtail.wagtailimages.blocks
|
||||
import wagtailmarkdown.blocks
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('blog', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='blogpage',
|
||||
name='body',
|
||||
field=wagtail.wagtailcore.fields.StreamField((('h1', wagtail.wagtailcore.blocks.CharBlock(classname='h1', icon='title', label='H1')), ('h2', wagtail.wagtailcore.blocks.CharBlock(classname='h2', icon='title', label='H2')), ('h3', wagtail.wagtailcore.blocks.CharBlock(classname='h3', icon='title', label='H3')), ('h4', wagtail.wagtailcore.blocks.CharBlock(classname='h4', icon='title', label='H4')), ('h5', wagtail.wagtailcore.blocks.CharBlock(classname='h5', icon='title', label='H5')), ('h6', wagtail.wagtailcore.blocks.CharBlock(classname='h6', icon='title', label='H6')), ('ansi', wagtail.wagtailcore.blocks.TextBlock(template='blocks/ansi.html')), ('document', wagtail.wagtaildocs.blocks.DocumentChooserBlock()), ('gist', wagtail.wagtailcore.blocks.CharBlock(icon='code', template='blocks/gist.html')), ('image', wagtail.wagtailimages.blocks.ImageChooserBlock()), ('markdown', wagtailmarkdown.blocks.MarkdownBlock()), ('ol', wagtail.wagtailcore.blocks.ListBlock(wagtail.wagtailcore.blocks.CharBlock(label='List Item'), icon='list-ol', label='Ordered List', template='blocks/ordered-list.html')), ('paragraph', wagtail.wagtailcore.blocks.RichTextBlock()), ('raw_html', wagtail.wagtailcore.blocks.RawHTMLBlock(label='Raw HTML')), ('secret', wagtail.wagtailcore.blocks.RichTextBlock(icon='password', template='blocks/secret.html')), ('ul', wagtail.wagtailcore.blocks.ListBlock(wagtail.wagtailcore.blocks.CharBlock(label='List Item'), icon='list-ul', label='Unordered List')))),
|
||||
),
|
||||
]
|
25
project/pages/migrations/0002_auto_20161208_1112.py
Normal file
25
project/pages/migrations/0002_auto_20161208_1112.py
Normal file
|
@ -0,0 +1,25 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.10.4 on 2016-12-08 11:12
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations
|
||||
import wagtail.wagtailcore.blocks
|
||||
import wagtail.wagtailcore.fields
|
||||
import wagtail.wagtaildocs.blocks
|
||||
import wagtail.wagtailimages.blocks
|
||||
import wagtailmarkdown.blocks
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pages', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='simplecontentpage',
|
||||
name='body',
|
||||
field=wagtail.wagtailcore.fields.StreamField((('h1', wagtail.wagtailcore.blocks.CharBlock(classname='h1', icon='title', label='H1')), ('h2', wagtail.wagtailcore.blocks.CharBlock(classname='h2', icon='title', label='H2')), ('h3', wagtail.wagtailcore.blocks.CharBlock(classname='h3', icon='title', label='H3')), ('h4', wagtail.wagtailcore.blocks.CharBlock(classname='h4', icon='title', label='H4')), ('h5', wagtail.wagtailcore.blocks.CharBlock(classname='h5', icon='title', label='H5')), ('h6', wagtail.wagtailcore.blocks.CharBlock(classname='h6', icon='title', label='H6')), ('ansi', wagtail.wagtailcore.blocks.TextBlock(template='blocks/ansi.html')), ('document', wagtail.wagtaildocs.blocks.DocumentChooserBlock()), ('gist', wagtail.wagtailcore.blocks.CharBlock(icon='code', template='blocks/gist.html')), ('image', wagtail.wagtailimages.blocks.ImageChooserBlock()), ('markdown', wagtailmarkdown.blocks.MarkdownBlock()), ('ol', wagtail.wagtailcore.blocks.ListBlock(wagtail.wagtailcore.blocks.CharBlock(label='List Item'), icon='list-ol', label='Ordered List', template='blocks/ordered-list.html')), ('paragraph', wagtail.wagtailcore.blocks.RichTextBlock()), ('raw_html', wagtail.wagtailcore.blocks.RawHTMLBlock(label='Raw HTML')), ('secret', wagtail.wagtailcore.blocks.RichTextBlock(icon='password', template='blocks/secret.html')), ('ul', wagtail.wagtailcore.blocks.ListBlock(wagtail.wagtailcore.blocks.CharBlock(label='List Item'), icon='list-ul', label='Unordered List')))),
|
||||
),
|
||||
]
|
Reference in a new issue