# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-01-17 18:52
from __future__ import unicode_literals

import autoslug.fields
from django.db import migrations, models
import django_markdown.models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Post',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=255, verbose_name='Post title')),
                ('content', django_markdown.models.MarkdownField(verbose_name='Content')),
                ('published', models.BooleanField(default=False, verbose_name='Published status')),
                ('modified', models.DateTimeField(auto_now=True)),
                ('created', models.DateTimeField(auto_now_add=True)),
                ('banner', models.ImageField(blank=True, null=True, upload_to='post_banner_images', verbose_name='Banner image')),
                ('slug', autoslug.fields.AutoSlugField(editable=False, populate_from='title', unique=True)),
            ],
        ),
    ]
