<commit_before><commit_msg>add migration for category content<commit_after># -*- coding: utf-8 -*-
# Generated by Django 1.10.7 on 2017-07-13 15:25
from __future__ import unicode_literals

import bluebottle.utils.fields
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('categories', '0002_auto_20160531_1651'),
    ]

    operations = [
        migrations.CreateModel(
            name='CategoryContent',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('title', models.CharField(max_length=60, verbose_name='title')),
                ('description', models.TextField(max_length=190, verbose_name='description')),
                ('image', bluebottle.utils.fields.ImageField(blank=True, help_text='Category content image', max_length=255, null=True, upload_to=b'categories/content/', verbose_name='image')),
                ('video_url', models.URLField(blank=True, default=b'', max_length=100)),
                ('link', models.URLField(blank=True, verbose_name='Link url')),
                ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='contents', to='categories.Category')),
            ],
        ),
    ]

{'fraction_non_alphanumeric': 0.13800738007380073, 'fraction_numerical': 0.03247232472324723, 'mean_word_length': 3.4313725490196076, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4437928', 'n_tokens_mistral': 430, 'n_tokens_neox': 384, 'n_words': 68}