summaryrefslogtreecommitdiff
path: root/blog/migrations/0009_auto_20200306_0713.py
diff options
context:
space:
mode:
Diffstat (limited to 'blog/migrations/0009_auto_20200306_0713.py')
-rw-r--r--blog/migrations/0009_auto_20200306_0713.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/blog/migrations/0009_auto_20200306_0713.py b/blog/migrations/0009_auto_20200306_0713.py
new file mode 100644
index 0000000..a718592
--- /dev/null
+++ b/blog/migrations/0009_auto_20200306_0713.py
@@ -0,0 +1,23 @@
+# Generated by Django 3.0.3 on 2020-03-06 07:13
+
+from django.db import migrations
+import wagtail.core.blocks
+import wagtail.core.fields
+import wagtail.documents.blocks
+import wagtail.embeds.blocks
+import wagtail.images.blocks
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('blog', '0008_auto_20200306_0703'),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name='blogpost',
+ name='body',
+ field=wagtail.core.fields.StreamField([('heading', wagtail.core.blocks.CharBlock(classname='full title')), ('paragraph', wagtail.core.blocks.RichTextBlock()), ('image', wagtail.images.blocks.ImageChooserBlock()), ('page', wagtail.core.blocks.PageChooserBlock()), ('document', wagtail.documents.blocks.DocumentChooserBlock()), ('media', wagtail.embeds.blocks.EmbedBlock()), ('html', wagtail.core.blocks.RawHTMLBlock(label='Raw HTML')), ('code', wagtail.core.blocks.StructBlock([('language', wagtail.core.blocks.ChoiceBlock(choices=[('bash', 'Bash/Shell'), ('css', 'CSS'), ('diff', 'diff'), ('html', 'HTML'), ('javascript', 'Javascript'), ('json', 'JSON'), ('python', 'Python'), ('scss', 'SCSS'), ('yaml', 'YAML')], help_text='Coding language', identifier='language', label='Language')), ('code', wagtail.core.blocks.TextBlock(identifier='code', label='Code'))], label='Code'))]),
+ ),
+ ]