new_contents: # -*- coding: utf-8 -*-
  # Generated by Django 1.9.13 on 2017-08-21 14:37
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  import molo.core.blocks
  import molo.core.models
  import taggit.managers
  import wagtail.wagtailcore.blocks
  import wagtail.wagtailcore.fields
  import wagtail.wagtailcore.models
  import wagtail.wagtailimages.blocks
  import wagtail.wagtailsearch.index
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('taggit', '0002_auto_20150616_2121'),
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
          ('wagtailcore', '0032_add_bulk_delete_page_permission'),
          ('core', '0065_auto_20170807_1005'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='MoloMedia',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=255, verbose_name='title')),
                  ('file', models.FileField(upload_to='media', verbose_name='file')),
                  ('type', models.CharField(choices=[('audio', 'Audio file'), ('video', 'Video file')], max_length=255)),
                  ('duration', models.PositiveIntegerField(help_text='Duration in seconds', verbose_name='duration')),
                  ('width', models.PositiveIntegerField(blank=True, null=True, verbose_name='width')),
                  ('height', models.PositiveIntegerField(blank=True, null=True, verbose_name='height')),
                  ('thumbnail', models.FileField(blank=True, upload_to='media_thumbnails', verbose_name='thumbnail')),
                  ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='created at')),
                  ('youtube_link', models.CharField(blank=True, max_length=512, null=True)),
                  ('collection', models.ForeignKey(default=wagtail.wagtailcore.models.get_root_collection_id, on_delete=django.db.models.deletion.CASCADE, related_name='+', to='wagtailcore.Collection', verbose_name='collection')),
                  ('tags', taggit.managers.TaggableManager(blank=True, help_text=None, through='taggit.TaggedItem', to='taggit.Tag', verbose_name='tags')),
                  ('uploaded_by_user', models.ForeignKey(blank=True, editable=False, null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL, verbose_name='uploaded by user')),
              ],
              options={
                  'abstract': False,
                  'verbose_name': 'media',
              },
              bases=(wagtail.wagtailsearch.index.Indexed, models.Model),
          ),
          migrations.AlterField(
              model_name='articlepage',
              name='body',
              field=wagtail.wagtailcore.fields.StreamField([(b'heading', wagtail.wagtailcore.blocks.CharBlock(classname=b'full title')), (b'paragraph', molo.core.blocks.MarkDownBlock()), (b'image', wagtail.wagtailimages.blocks.ImageChooserBlock()), (b'list', wagtail.wagtailcore.blocks.ListBlock(wagtail.wagtailcore.blocks.CharBlock(label=b'Item'))), (b'numbered_list', wagtail.wagtailcore.blocks.ListBlock(wagtail.wagtailcore.blocks.CharBlock(label=b'Item'))), (b'page', wagtail.wagtailcore.blocks.PageChooserBlock()), (b'media', molo.core.models.MoloMediaBlock(icon=b'media'))], blank=True, null=True),
          ),
      ]
  
subject: add migrations