<commit_before><commit_msg>course image fields migration added ECOM-7670<commit_after># -*- coding: utf-8 -*-
# Generated by Django 1.9.13 on 2017-04-13 09:35
from __future__ import unicode_literals

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

import course_discovery.apps.course_metadata.utils
import course_discovery.apps.publisher.validators


class Migration(migrations.Migration):

    dependencies = [
        ('publisher', '0045_auto_20170330_0729'),
    ]

    operations = [
        migrations.AlterField(
            model_name='course',
            name='image',
            field=stdimage.models.StdImageField(blank=True, null=True, upload_to=course_discovery.apps.course_metadata.utils.UploadToFieldNamePath('number', path='media/publisher/courses/images'), validators=[course_discovery.apps.publisher.validators.ImageSizeValidator(height=1192, width=2120)]),
        ),
        migrations.AlterField(
            model_name='historicalcourse',
            name='image',
            field=models.TextField(blank=True, max_length=100, null=True, validators=[course_discovery.apps.publisher.validators.ImageSizeValidator(height=1192, width=2120)]),
        ),
    ]
{'fraction_non_alphanumeric': 0.11278195488721804, 'fraction_numerical': 0.04678362573099415, 'mean_word_length': 4.0548523206751055, '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': '5528305', 'n_tokens_mistral': 386, 'n_tokens_neox': 348, 'n_words': 53}