fixed "Apps aren't loaded yet." exception

This commit is contained in:
seroy
2017-04-12 14:11:29 +03:00
parent c55001ac12
commit 8591af1f2a
2 changed files with 1 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ from django.db import connection, migrations
from django.db.migrations.executor import MigrationExecutor
from django.contrib.postgres.operations import HStoreExtension
from localized_fields import LocalizedModel
from localized_fields.models import LocalizedModel
def define_fake_model(name='TestModel', fields=None):