# -*- coding: utf-8 -*-
# Generated by Django 1.9.6 on 2016-06-16 19:28
from __future__ import unicode_literals

from django.db import migrations, models
from djrichtextfield.models import RichTextField


class Migration(migrations.Migration):

    dependencies = [
        ('news', '0002_auto_20160614_1733'),
    ]

    operations = [
        migrations.CreateModel(
            name='NewsItem',
            fields=[
                ('id', models.AutoField(auto_created=True,
                                        primary_key=True, serialize=False, verbose_name='ID')),
                ('category', models.CharField(choices=[
                 ('s', 'Story'), ('a', 'Announcement'), ('e', 'Event'), ('u', 'Unique')], max_length=1)),
                ('date', models.DateField()),
                ('post_date', models.DateField(auto_now_add=True)),
                ('stop_date', models.DateField(blank=True, null=True)),
                ('headline', models.CharField(max_length=200)),
                ('text', RichTextField()),
                ('location', models.CharField(
                    blank=True, max_length=64, null=True)),
                ('keywords', models.CharField(blank=True, max_length=100)),
                ('picture', models.ImageField(
                    blank=True, null=True, upload_to='stories')),
            ],
            options={
                'ordering': ['-date'],
            },
        ),
    ]
