Merge pull request #132 from mbehrle/feature/taggit_migration
Using orm for taggit migration.
This commit is contained in:
@@ -12,7 +12,7 @@ class Migration(DataMigration):
|
|||||||
# and orm['appname.ModelName'] for models in other applications.
|
# and orm['appname.ModelName'] for models in other applications.
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from taggit.models import Tag as TaggitModel
|
from orm.TaggitModel import Tag as TaggitModel
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user