0001-import-ContentType-ContentTypeManager-from-contentty.patch
tenant_schemas/postgresql_backend/base.py | ||
---|---|---|
10 | 10 |
# Django versions < 1.9 |
11 | 11 |
from django.utils.importlib import import_module |
12 | 12 |
from django.core.exceptions import ImproperlyConfigured, ValidationError |
13 |
from django.contrib.auth.models import ContentType, ContentTypeManager
|
|
13 |
from django.contrib.contenttypes.models import ContentType, ContentTypeManager
|
|
14 | 14 |
from tenant_schemas.utils import get_public_schema_name, get_limit_set_calls |
15 | 15 |
from tenant_schemas.postgresql_backend.introspection import DatabaseSchemaIntrospection |
16 | 16 |
import django.db.utils |
17 |
- |