# -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models


class Migration(SchemaMigration):

    def forwards(self, orm):
        # Adding model 'ExperimentIndexPage'
        db.create_table(u'calc_experimentindexpage', (
            (u'page_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['wagtailcore.Page'], unique=True, primary_key=True)),
            ('intro', self.gf('wagtail.wagtailcore.fields.RichTextField')(blank=True)),
        ))
        db.send_create_signal(u'calc', ['ExperimentIndexPage'])

        # Adding model 'ExperimentRelatedLink'
        db.create_table(u'calc_experimentrelatedlink', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('sort_order', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('link_page', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='+', null=True, to=orm['wagtailcore.Page'])),
            ('link_document', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='+', null=True, to=orm['wagtaildocs.Document'])),
            ('title', self.gf('django.db.models.fields.CharField')(max_length=255)),
            ('page', self.gf('modelcluster.fields.ParentalKey')(related_name='related_links', to=orm['calc.ExperimentPage'])),
        ))
        db.send_create_signal(u'calc', ['ExperimentRelatedLink'])

        # Adding model 'ExperimentPage'
        db.create_table(u'calc_experimentpage', (
            (u'page_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['wagtailcore.Page'], unique=True, primary_key=True)),
            ('intro', self.gf('wagtail.wagtailcore.fields.RichTextField')(blank=True)),
            ('body', self.gf('wagtail.wagtailcore.fields.RichTextField')(blank=True)),
        ))
        db.send_create_signal(u'calc', ['ExperimentPage'])

        # Adding model 'WorkflowIndexPage'
        db.create_table(u'calc_workflowindexpage', (
            (u'page_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['wagtailcore.Page'], unique=True, primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('intro', self.gf('wagtail.wagtailcore.fields.RichTextField')(blank=True)),
        ))
        db.send_create_signal(u'calc', ['WorkflowIndexPage'])

        # Adding model 'WorkflowSourceDataFile'
        db.create_table(u'calc_workflowsourcedatafile', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('sort_order', self.gf('django.db.models.fields.IntegerField')(null=True, blank=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('page', self.gf('modelcluster.fields.ParentalKey')(related_name='source_data_files', to=orm['calc.WorkflowPage'])),
            ('source_data_file', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='+', null=True, to=orm['wagtaildocs.Document'])),
        ))
        db.send_create_signal(u'calc', ['WorkflowSourceDataFile'])

        # Adding model 'WorkflowDataRevision'
        db.create_table(u'calc_workflowdatarevision', (
            (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('page', self.gf('django.db.models.fields.related.ForeignKey')(related_name='workflow_data_revisions', to=orm['calc.WorkflowPage'])),
        ))
        db.send_create_signal(u'calc', ['WorkflowDataRevision'])

        # Adding model 'WorkflowPage'
        db.create_table(u'calc_workflowpage', (
            (u'page_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['wagtailcore.Page'], unique=True, primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('intro', self.gf('wagtail.wagtailcore.fields.RichTextField')(blank=True)),
        ))
        db.send_create_signal(u'calc', ['WorkflowPage'])

        # Adding model 'BaseWorkflowStepPage'
        db.create_table(u'calc_baseworkflowsteppage', (
            (u'page_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['wagtailcore.Page'], unique=True, primary_key=True)),
            ('created', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
            ('modified', self.gf('django.db.models.fields.DateTimeField')(default=datetime.datetime.now, blank=True)),
        ))
        db.send_create_signal(u'calc', ['BaseWorkflowStepPage'])

        # Adding model 'FilterOrLabel'
        db.create_table(u'calc_filterorlabel', (
            (u'baseworkflowsteppage_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['calc.BaseWorkflowStepPage'], unique=True, primary_key=True)),
            ('query', self.gf('django.db.models.fields.CharField')(max_length=500)),
            ('filter_options', self.gf('django.db.models.fields.CharField')(default='kp', max_length=2)),
            ('label_field_name', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)),
            ('label', self.gf('django.db.models.fields.CharField')(max_length=50, blank=True)),
        ))
        db.send_create_signal(u'calc', ['FilterOrLabel'])

        # Adding model 'StandardStats'
        db.create_table(u'calc_standardstats', (
            (u'baseworkflowsteppage_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['calc.BaseWorkflowStepPage'], unique=True, primary_key=True)),
            ('group_by_field', self.gf('django.db.models.fields.CharField')(max_length=500)),
            ('include_max', self.gf('django.db.models.fields.NullBooleanField')(default=True, null=True, blank=True)),
            ('include_min', self.gf('django.db.models.fields.NullBooleanField')(default=True, null=True, blank=True)),
            ('include_mean', self.gf('django.db.models.fields.NullBooleanField')(default=True, null=True, blank=True)),
            ('include_standard_deviation', self.gf('django.db.models.fields.NullBooleanField')(default=True, null=True, blank=True)),
            ('include_standard_error', self.gf('django.db.models.fields.NullBooleanField')(default=True, null=True, blank=True)),
        ))
        db.send_create_signal(u'calc', ['StandardStats'])

        # Adding model 'CreateColumnByLookup'
        db.create_table(u'calc_createcolumnbylookup', (
            (u'baseworkflowsteppage_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['calc.BaseWorkflowStepPage'], unique=True, primary_key=True)),
            ('new_column_name', self.gf('django.db.models.fields.CharField')(max_length=500)),
            ('field_in_workflow_data', self.gf('django.db.models.fields.CharField')(max_length=500)),
            ('field_in_lookup_table', self.gf('django.db.models.fields.CharField')(max_length=500)),
            ('create_column_using', self.gf('django.db.models.fields.CharField')(max_length=500)),
        ))
        db.send_create_signal(u'calc', ['CreateColumnByLookup'])

        # Adding model 'CreateColumnByConcatenate'
        db.create_table(u'calc_createcolumnbyconcatenate', (
            (u'baseworkflowsteppage_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['calc.BaseWorkflowStepPage'], unique=True, primary_key=True)),
            ('new_column_name', self.gf('django.db.models.fields.CharField')(max_length=500)),
            ('columns_to_concatenate', self.gf('django.db.models.fields.CharField')(max_length=500)),
        ))
        db.send_create_signal(u'calc', ['CreateColumnByConcatenate'])

        # Adding model 'CreateCustomFormulaColumn'
        db.create_table(u'calc_createcustomformulacolumn', (
            (u'baseworkflowsteppage_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['calc.BaseWorkflowStepPage'], unique=True, primary_key=True)),
            ('formula', self.gf('django.db.models.fields.CharField')(max_length=500)),
            ('new_column_name', self.gf('django.db.models.fields.CharField')(max_length=500)),
        ))
        db.send_create_signal(u'calc', ['CreateCustomFormulaColumn'])


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

        # Deleting model 'ExperimentRelatedLink'
        db.delete_table(u'calc_experimentrelatedlink')

        # Deleting model 'ExperimentPage'
        db.delete_table(u'calc_experimentpage')

        # Deleting model 'WorkflowIndexPage'
        db.delete_table(u'calc_workflowindexpage')

        # Deleting model 'WorkflowSourceDataFile'
        db.delete_table(u'calc_workflowsourcedatafile')

        # Deleting model 'WorkflowDataRevision'
        db.delete_table(u'calc_workflowdatarevision')

        # Deleting model 'WorkflowPage'
        db.delete_table(u'calc_workflowpage')

        # Deleting model 'BaseWorkflowStepPage'
        db.delete_table(u'calc_baseworkflowsteppage')

        # Deleting model 'FilterOrLabel'
        db.delete_table(u'calc_filterorlabel')

        # Deleting model 'StandardStats'
        db.delete_table(u'calc_standardstats')

        # Deleting model 'CreateColumnByLookup'
        db.delete_table(u'calc_createcolumnbylookup')

        # Deleting model 'CreateColumnByConcatenate'
        db.delete_table(u'calc_createcolumnbyconcatenate')

        # Deleting model 'CreateCustomFormulaColumn'
        db.delete_table(u'calc_createcustomformulacolumn')


    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'auth.user': {
            'Meta': {'object_name': 'User'},
            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
        },
        u'calc.baseworkflowsteppage': {
            'Meta': {'object_name': 'BaseWorkflowStepPage', '_ormbases': [u'wagtailcore.Page']},
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            u'page_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['wagtailcore.Page']", 'unique': 'True', 'primary_key': 'True'})
        },
        u'calc.createcolumnbyconcatenate': {
            'Meta': {'object_name': 'CreateColumnByConcatenate', '_ormbases': [u'calc.BaseWorkflowStepPage']},
            u'baseworkflowsteppage_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['calc.BaseWorkflowStepPage']", 'unique': 'True', 'primary_key': 'True'}),
            'columns_to_concatenate': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
            'new_column_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
        },
        u'calc.createcolumnbylookup': {
            'Meta': {'object_name': 'CreateColumnByLookup', '_ormbases': [u'calc.BaseWorkflowStepPage']},
            u'baseworkflowsteppage_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['calc.BaseWorkflowStepPage']", 'unique': 'True', 'primary_key': 'True'}),
            'create_column_using': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
            'field_in_lookup_table': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
            'field_in_workflow_data': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
            'new_column_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
        },
        u'calc.createcustomformulacolumn': {
            'Meta': {'object_name': 'CreateCustomFormulaColumn', '_ormbases': [u'calc.BaseWorkflowStepPage']},
            u'baseworkflowsteppage_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['calc.BaseWorkflowStepPage']", 'unique': 'True', 'primary_key': 'True'}),
            'formula': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
            'new_column_name': ('django.db.models.fields.CharField', [], {'max_length': '500'})
        },
        u'calc.experimentindexpage': {
            'Meta': {'object_name': 'ExperimentIndexPage', '_ormbases': [u'wagtailcore.Page']},
            'intro': ('wagtail.wagtailcore.fields.RichTextField', [], {'blank': 'True'}),
            u'page_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['wagtailcore.Page']", 'unique': 'True', 'primary_key': 'True'})
        },
        u'calc.experimentpage': {
            'Meta': {'object_name': 'ExperimentPage', '_ormbases': [u'wagtailcore.Page']},
            'body': ('wagtail.wagtailcore.fields.RichTextField', [], {'blank': 'True'}),
            'intro': ('wagtail.wagtailcore.fields.RichTextField', [], {'blank': 'True'}),
            u'page_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['wagtailcore.Page']", 'unique': 'True', 'primary_key': 'True'})
        },
        u'calc.experimentrelatedlink': {
            'Meta': {'ordering': "['sort_order']", 'object_name': 'ExperimentRelatedLink'},
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'link_document': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': u"orm['wagtaildocs.Document']"}),
            'link_page': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': u"orm['wagtailcore.Page']"}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            'page': ('modelcluster.fields.ParentalKey', [], {'related_name': "'related_links'", 'to': u"orm['calc.ExperimentPage']"}),
            'sort_order': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '255'})
        },
        u'calc.filterorlabel': {
            'Meta': {'object_name': 'FilterOrLabel', '_ormbases': [u'calc.BaseWorkflowStepPage']},
            u'baseworkflowsteppage_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['calc.BaseWorkflowStepPage']", 'unique': 'True', 'primary_key': 'True'}),
            'filter_options': ('django.db.models.fields.CharField', [], {'default': "'kp'", 'max_length': '2'}),
            'label': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
            'label_field_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
            'query': ('django.db.models.fields.CharField', [], {'max_length': '500'})
        },
        u'calc.standardstats': {
            'Meta': {'object_name': 'StandardStats', '_ormbases': [u'calc.BaseWorkflowStepPage']},
            u'baseworkflowsteppage_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['calc.BaseWorkflowStepPage']", 'unique': 'True', 'primary_key': 'True'}),
            'group_by_field': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
            'include_max': ('django.db.models.fields.NullBooleanField', [], {'default': 'True', 'null': 'True', 'blank': 'True'}),
            'include_mean': ('django.db.models.fields.NullBooleanField', [], {'default': 'True', 'null': 'True', 'blank': 'True'}),
            'include_min': ('django.db.models.fields.NullBooleanField', [], {'default': 'True', 'null': 'True', 'blank': 'True'}),
            'include_standard_deviation': ('django.db.models.fields.NullBooleanField', [], {'default': 'True', 'null': 'True', 'blank': 'True'}),
            'include_standard_error': ('django.db.models.fields.NullBooleanField', [], {'default': 'True', 'null': 'True', 'blank': 'True'})
        },
        u'calc.workflowdatarevision': {
            'Meta': {'ordering': "('-modified', '-created')", 'object_name': 'WorkflowDataRevision'},
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            'page': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'workflow_data_revisions'", 'to': u"orm['calc.WorkflowPage']"})
        },
        u'calc.workflowindexpage': {
            'Meta': {'object_name': 'WorkflowIndexPage', '_ormbases': [u'wagtailcore.Page']},
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            'intro': ('wagtail.wagtailcore.fields.RichTextField', [], {'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            u'page_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['wagtailcore.Page']", 'unique': 'True', 'primary_key': 'True'})
        },
        u'calc.workflowpage': {
            'Meta': {'object_name': 'WorkflowPage', '_ormbases': [u'wagtailcore.Page']},
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            'intro': ('wagtail.wagtailcore.fields.RichTextField', [], {'blank': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            u'page_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['wagtailcore.Page']", 'unique': 'True', 'primary_key': 'True'})
        },
        u'calc.workflowsourcedatafile': {
            'Meta': {'ordering': "['sort_order']", 'object_name': 'WorkflowSourceDataFile'},
            'created': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'modified': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now', 'blank': 'True'}),
            'page': ('modelcluster.fields.ParentalKey', [], {'related_name': "'source_data_files'", 'to': u"orm['calc.WorkflowPage']"}),
            'sort_order': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
            'source_data_file': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'+'", 'null': 'True', 'to': u"orm['wagtaildocs.Document']"})
        },
        u'contenttypes.contenttype': {
            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
        },
        u'wagtailcore.page': {
            'Meta': {'object_name': 'Page'},
            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'pages'", 'to': u"orm['contenttypes.ContentType']"}),
            'depth': ('django.db.models.fields.PositiveIntegerField', [], {}),
            'expire_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'expired': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'go_live_at': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
            'has_unpublished_changes': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'live': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
            'numchild': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
            'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'owned_pages'", 'null': 'True', 'to': u"orm['auth.User']"}),
            'path': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
            'search_description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
            'seo_title': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
            'show_in_menus': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
            'slug': ('django.db.models.fields.SlugField', [], {'max_length': '50'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'url_path': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
        },
        u'wagtaildocs.document': {
            'Meta': {'object_name': 'Document'},
            'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
            'file': ('django.db.models.fields.files.FileField', [], {'max_length': '100'}),
            u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
            'title': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
            'uploaded_by_user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'})
        }
    }

    complete_apps = ['calc']