# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-08-14 05:01
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('catalog', '0007_auto_20170814_0459'),
    ]

    operations = [
        migrations.CreateModel(
            name='News',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=256)),
                ('date', models.DateTimeField(verbose_name=b'Publication Date')),
                ('text', models.TextField(blank=True, default=b'', verbose_name=b'News Text')),
                ('url', models.URLField(verbose_name=b'URL')),
                ('publisher', models.ForeignKey(default=b'', on_delete=django.db.models.deletion.CASCADE, to='catalog.Publisher')),
                ('topic', models.ManyToManyField(blank=True, to='catalog.Topic', verbose_name=b'Topic(s)')),
            ],
        ),
    ]
