text: # -*- coding: utf-8 -*-
  # Generated by Django 1.10.2 on 2016-10-31 16:57
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  import django.utils.timezone
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Categorie',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(db_index=True, max_length=100)),
                  ('slug', models.SlugField(max_length=100)),
              ],
          ),
          migrations.CreateModel(
              name='Post',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=100, unique=True)),
                  ('slug', models.SlugField(max_length=100, unique=True)),
                  ('excerpt', models.CharField(blank=True, max_length=200, null=True)),
                  ('body', models.TextField()),
                  ('created_date', models.DateTimeField(default=django.utils.timezone.now)),
                  ('published_date', models.DateTimeField(blank=True, null=True)),
                  ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='articles.Categorie')),
              ],
          ),
      ]
  