<commit_before># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
import filer.fields.image
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('cmsplugin_filer_image', '0001_initial'),
        ('cms', '0011_auto_20150419_1006'),
        ('filer', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Image',
            fields=[
                ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
                ('order', models.PositiveIntegerField(db_index=True, default=1, editable=False)),
                ('caption_text', models.CharField(max_length=255, verbose_name='caption text', blank=True, null=True)),
                ('image', filer.fields.image.FilerImageField(to='filer.Image', related_name='image')),
            ],
            options={
                'verbose_name_plural': 'images',
                'abstract': False,
                'ordering': ['order'],
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='Slider',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(primary_key=True, serialize=False, to='cms.CMSPlugin', parent_link=True, auto_created=True)),
                ('order', models.PositiveIntegerField(db_index=True, default=1, editable=False)),
                ('name', models.CharField(max_length=50, verbose_name='name', blank=True, null=True)),
                ('dots', models.BooleanField(verbose_name='dots', default=False)),
                ('fade', models.BooleanField(verbose_name='fade', default=False)),
                ('autoplay', models.BooleanField(verbose_name='autoplay', default=True)),
                ('image_options', models.ForeignKey(null=True, to='cmsplugin_filer_image.ThumbnailOption', on_delete=django.db.models.deletion.SET_NULL, related_name='djangocms_blog_post_thumbnail', verbose_name='image size', blank=True)),
            ],
            options={
                'abstract': False,
                'ordering': ['order'],
            },
            bases=('cms.cmsplugin', models.Model),
        ),
        migrations.AddField(
            model_name='image',
            name='slider',
            field=models.ForeignKey(to='cmsplugin_simpleslider.Slider', related_name='images'),
            preserve_default=True,
        ),
    ]<commit_msg>updated migrations<commit_after># -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
import filer.fields.image
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('filer', '0002_auto_20150606_2003'),
        ('cms', '0003_auto_20140926_2347'),
        ('cmsplugin_filer_image', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Image',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('order', models.PositiveIntegerField(default=1, editable=False, db_index=True)),
                ('caption_text', models.CharField(max_length=255, null=True, verbose_name='caption text', blank=True)),
                ('image', filer.fields.image.FilerImageField(related_name='Bild', to='filer.Image')),
            ],
            options={
                'ordering': ['order'],
                'abstract': False,
                'verbose_name_plural': 'images',
            },
            bases=(models.Model,),
        ),
        migrations.CreateModel(
            name='Slider',
            fields=[
                ('cmsplugin_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='cms.CMSPlugin')),
                ('order', models.PositiveIntegerField(default=1, editable=False, db_index=True)),
                ('name', models.CharField(max_length=50, null=True, verbose_name='name', blank=True)),
                ('dots', models.BooleanField(default=False, verbose_name='dots')),
                ('fade', models.BooleanField(default=False, verbose_name='fade')),
                ('autoplay', models.BooleanField(default=True, verbose_name='autoplay')),
                ('image_options', models.ForeignKey(related_name='djangocms_blog_post_thumbnail', on_delete=django.db.models.deletion.SET_NULL, verbose_name='image size', blank=True, to='cmsplugin_filer_image.ThumbnailOption', null=True)),
            ],
            options={
                'ordering': ['order'],
                'abstract': False,
            },
            bases=('cms.cmsplugin', models.Model),
        ),
        migrations.AddField(
            model_name='image',
            name='slider',
            field=models.ForeignKey(related_name='images', to='cmsplugin_simpleslider.Slider'),
            preserve_default=True,
        ),
    ]
{'fraction_non_alphanumeric': 0.14060315558218495, 'fraction_numerical': 0.01517874975034951, 'mean_word_length': 2.5822603719599426, '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': '5860', 'n_tokens_mistral': 1482, 'n_tokens_neox': 1383, 'n_words': 207}