0015_auto_20151213_1328.py 1.76 KB
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('dictionary', '0014_auto_20151213_1328'),
        ('tables', '0002_tabletemplate'),
    ]

    state_operations = [
        migrations.RemoveField(
            model_name='tabletemplate',
            name='attribute_values',
        ),
        migrations.RemoveField(
            model_name='tabletemplate',
            name='attributes',
        ),
        migrations.RemoveField(
            model_name='tabletemplate',
            name='cell_attributes',
        ),
        migrations.RemoveField(
            model_name='tabletemplate',
            name='parts_of_speech',
        ),
        migrations.RemoveField(
            model_name='tabletemplate',
            name='pattern_types',
        ),
        migrations.RemoveField(
            model_name='tabletemplate',
            name='variant',
        ),
        migrations.DeleteModel(
            name='TableTemplate',
        ),
    ]

    operations = [
        migrations.AlterField(
            model_name='exportcell',
            name='table_template',
            field=models.ForeignKey(related_name='export_cells', to='tables.TableTemplate'),
        ),
        migrations.AlterField(
            model_name='tablecell',
            name='table_template',
            field=models.ForeignKey(related_name='table_cells', to='tables.TableTemplate'),
        ),
        migrations.AlterField(
            model_name='tableheader',
            name='table_template',
            field=models.ForeignKey(related_name='headers', to='tables.TableTemplate'),
        ),
        migrations.SeparateDatabaseAndState(state_operations=state_operations),
    ]