# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-07-22 19:54 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone import taggit.managers class Migration(migrations.Migration): initial = True dependencies = [ ('taggit', '0002_auto_20150616_2121'), ] operations = [ migrations.CreateModel( name='CcgNote', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(blank=True, max_length=250, null=True)), ('slug', models.SlugField(blank=True, unique_for_date='pub_date')), ('pub_date', models.DateTimeField(default=django.utils.timezone.now)), ('date_last_updated', models.DateTimeField(blank=True, verbose_name='Date')), ('body_html', models.TextField(blank=True)), ('body_markdown', models.TextField(verbose_name='Note')), ('status', models.IntegerField(choices=[(0, 'Draft'), (1, 'Published')], default=1)), ('tags', taggit.managers.TaggableManager(blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')), ], ), ]