<commit_before># -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
from django.contrib.auth import get_user_model

User = get_user_model()


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding model 'Timeline'
        db.create_table(u'timelinejs_timeline', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('headline', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('type', self.gf('django.db.models.fields.CharField')(default='default', max_length=50)),
            ('start_date', self.gf('django.db.models.fields.DateField')(blank=True)),
            ('text', self.gf('django.db.models.fields.TextField')(blank=True)),
            ('asset_media', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('asset_credit', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('asset_caption', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('json', self.gf('jsonfield.fields.JSONField')(null=True, blank=True)),
            ('source', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)),
            ('channel', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['channels.Channel'], null=True, on_delete=models.SET_NULL, blank=True)),
        ))
        db.send_create_signal(u'timelinejs', ['Timeline'])

        # Adding model 'TimelineContainer'
        db.create_table(u'timelinejs_timelinecontainer', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('container', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='timelinecontainer_container', null=True, on_delete=models.SET_NULL, to=orm['containers.Container'])),
            ('timeline', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='timelinecontainer_timeline', null=True, on_delete=models.SET_NULL, to=orm['timelinejs.Timeline'])),
        ))
        db.send_create_signal(u'timelinejs', ['TimelineContainer'])

        # Adding model 'TimelineEvent'
        db.create_table(u'timelinejs_timelineevent', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('timeline', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['timelinejs.Timeline'])),
            ('start_date', self.gf('django.db.models.fields.DateField')()),
            ('end_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
            ('headline', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('text', self.gf('django.db.models.fields.TextField')(blank=True)),
            ('asset_media', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('asset_credit', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('asset_caption', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('asset_thumbnail', self.gf('django.db.models.fields.CharField')(max_length=500, null=True, blank=True)),
            ('type', self.gf('django.db.models.fields.CharField')(default='date', max_length=255, null=True, blank=True)),
            ('classname', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('value', self.gf('django.db.models.fields.CharField')(max_length=140, null=True, blank=True)),
            ('tag', self.gf('django.db.models.fields.CharField')(max_length=140, null=True, blank=True)),
        ))
        db.send_create_signal(u'timelinejs', ['TimelineEvent'])

        # Adding model 'TimelineOptions'
        db.create_table(u'timelinejs_timelineoptions', (
            ('timeline', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['timelinejs.Timeline'], unique=True, primary_key=True)),
            ('width', self.gf('django.db.models.fields.CharField')(default='100%', max_length=10)),
            ('height', self.gf('django.db.models.fields.CharField')(default='600', max_length=10)),
            ('embed_id', self.gf('django.db.models.fields.CharField')(max_length=20, blank=True)),
            ('start_at_end', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('start_at_slide', self.gf('django.db.models.fields.IntegerField')(default=0)),
            ('start_zoom_adjust', self.gf('django.db.models.fields.IntegerField')(default=0)),
            ('hash_bookmark', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('font', self.gf('django.db.models.fields.CharField')(default='Bevan-PotanoSans', max_length=50)),
            ('debug', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('lang', self.gf('django.db.models.fields.CharField')(default='en', max_length=6)),
            ('maptype', self.gf('django.db.models.fields.CharField')(default='watercolor', max_length=50)),
        ))
        db.send_create_signal(u'timelinejs', ['TimelineOptions'])


    def backwards(self, orm):
        # Deleting model 'Timeline'
        db.delete_table(u'timelinejs_timeline')

        # Deleting model 'TimelineContainer'
        db.delete_table(u'timelinejs_timelinecontainer')

        # Deleting model 'TimelineEvent'
        db.delete_table(u'timelinejs_timelineevent')

        # Deleting model 'TimelineOptions'
        db.delete_table(u'timelinejs_timelineoptions')


    models = {
        u'auth.group': {
            'Meta': {'object_name': 'Group'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        },
        u'auth.permission': {
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
        },
        u'%s.%s' % (User._meta.app_label, User._meta.module_name): {
            'Meta': {'object_name': User.__user__},
        },
        u'channels.channel': {
            'Meta': {'ordering': "['name', 'parent__id', 'published']", 'unique_together': "(('site', 'long_slug', 'slug', 'parent'),)", 'object_name': 'Channel'},
            'date_available': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'null': 'True', 'db_index': 'True'}),
            'date_insert': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'date_update': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'group': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'homepage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'include_in_main_rss': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),<commit_msg>minor fix<commit_after># -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
from django.contrib.auth import get_user_model

User = get_user_model()


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding model 'Timeline'
        db.create_table(u'timelinejs_timeline', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('headline', self.gf('django.db.models.fields.CharField')(max_length=200)),
            ('type', self.gf('django.db.models.fields.CharField')(default='default', max_length=50)),
            ('start_date', self.gf('django.db.models.fields.DateField')(blank=True)),
            ('text', self.gf('django.db.models.fields.TextField')(blank=True)),
            ('asset_media', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('asset_credit', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('asset_caption', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('json', self.gf('jsonfield.fields.JSONField')(null=True, blank=True)),
            ('source', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)),
            ('channel', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['channels.Channel'], null=True, on_delete=models.SET_NULL, blank=True)),
        ))
        db.send_create_signal(u'timelinejs', ['Timeline'])

        # Adding model 'TimelineContainer'
        db.create_table(u'timelinejs_timelinecontainer', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('container', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='timelinecontainer_container', null=True, on_delete=models.SET_NULL, to=orm['containers.Container'])),
            ('timeline', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='timelinecontainer_timeline', null=True, on_delete=models.SET_NULL, to=orm['timelinejs.Timeline'])),
        ))
        db.send_create_signal(u'timelinejs', ['TimelineContainer'])

        # Adding model 'TimelineEvent'
        db.create_table(u'timelinejs_timelineevent', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('timeline', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['timelinejs.Timeline'])),
            ('start_date', self.gf('django.db.models.fields.DateField')()),
            ('end_date', self.gf('django.db.models.fields.DateField')(null=True, blank=True)),
            ('headline', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('text', self.gf('django.db.models.fields.TextField')(blank=True)),
            ('asset_media', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('asset_credit', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('asset_caption', self.gf('django.db.models.fields.CharField')(max_length=200, blank=True)),
            ('asset_thumbnail', self.gf('django.db.models.fields.CharField')(max_length=500, null=True, blank=True)),
            ('type', self.gf('django.db.models.fields.CharField')(default='date', max_length=255, null=True, blank=True)),
            ('classname', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
            ('value', self.gf('django.db.models.fields.CharField')(max_length=140, null=True, blank=True)),
            ('tag', self.gf('django.db.models.fields.CharField')(max_length=140, null=True, blank=True)),
        ))
        db.send_create_signal(u'timelinejs', ['TimelineEvent'])

        # Adding model 'TimelineOptions'
        db.create_table(u'timelinejs_timelineoptions', (
            ('timeline', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['timelinejs.Timeline'], unique=True, primary_key=True)),
            ('width', self.gf('django.db.models.fields.CharField')(default='100%', max_length=10)),
            ('height', self.gf('django.db.models.fields.CharField')(default='600', max_length=10)),
            ('embed_id', self.gf('django.db.models.fields.CharField')(max_length=20, blank=True)),
            ('start_at_end', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('start_at_slide', self.gf('django.db.models.fields.IntegerField')(default=0)),
            ('start_zoom_adjust', self.gf('django.db.models.fields.IntegerField')(default=0)),
            ('hash_bookmark', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('font', self.gf('django.db.models.fields.CharField')(default='Bevan-PotanoSans', max_length=50)),
            ('debug', self.gf('django.db.models.fields.BooleanField')(default=False)),
            ('lang', self.gf('django.db.models.fields.CharField')(default='en', max_length=6)),
            ('maptype', self.gf('django.db.models.fields.CharField')(default='watercolor', max_length=50)),
        ))
        db.send_create_signal(u'timelinejs', ['TimelineOptions'])


    def backwards(self, orm):
        # Deleting model 'Timeline'
        db.delete_table(u'timelinejs_timeline')

        # Deleting model 'TimelineContainer'
        db.delete_table(u'timelinejs_timelinecontainer')

        # Deleting model 'TimelineEvent'
        db.delete_table(u'timelinejs_timelineevent')

        # Deleting model 'TimelineOptions'
        db.delete_table(u'timelinejs_timelineoptions')


    models = {
        u'auth.group': {
            'Meta': {'object_name': 'Group'},
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
        },
        u'auth.permission': {
            'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
        },
        u'%s.%s' % (User._meta.app_label, User._meta.module_name): {
            'Meta': {'object_name': User.__name__},
        },
        u'channels.channel': {
            'Meta': {'ordering': "['name', 'parent__id', 'published']", 'unique_together': "(('site', 'long_slug', 'slug', 'parent'),)", 'object_name': 'Channel'},
            'date_available': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'null': 'True', 'db_index': 'True'}),
            'date_insert': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'date_update': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
            'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
            'group': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'homepage': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'include_in_main_rss': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
{'fraction_non_alphanumeric': 0.19774797570850203, 'fraction_numerical': 0.009488866396761133, 'mean_word_length': 3.816879951249238, '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': '1203348', 'n_tokens_mistral': 5161, 'n_tokens_neox': 4949, 'n_words': 612}