Start making the Tag/Attribute migrations. Not finished yet.

This commit is contained in:
Griatch 2017-01-22 00:07:27 +01:00
parent 55e9a01790
commit 982b11ddfb

View file

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.9.11 on 2017-01-21 22:30
from __future__ import unicode_literals
from django.db import migrations
def update_tags_with_dbmodel(apps, schema_editor):
Tag = apps.get_model('typeclasses', 'Tag')
Attribute = apps.get_model('typeclasses', 'Attribute')
class Migration(migrations.Migration):
dependencies = [
('typeclasses', '0005_auto_20160625_1812'),
]
operations = [
migrations.RunPython(update_tags_with_dbmodel)
]