From 4e6319b5b174cea660ced1ee3709ac052f43139e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 16 Mar 2016 11:03:17 +0100 Subject: [PATCH] import ContentType, ContentTypeManager from contenttypes module (#10308) --- tenant_schemas/postgresql_backend/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tenant_schemas/postgresql_backend/base.py b/tenant_schemas/postgresql_backend/base.py index aca20da..f12f9f2 100644 --- a/tenant_schemas/postgresql_backend/base.py +++ b/tenant_schemas/postgresql_backend/base.py @@ -10,7 +10,7 @@ except ImportError: # Django versions < 1.9 from django.utils.importlib import import_module from django.core.exceptions import ImproperlyConfigured, ValidationError -from django.contrib.auth.models import ContentType, ContentTypeManager +from django.contrib.contenttypes.models import ContentType, ContentTypeManager from tenant_schemas.utils import get_public_schema_name, get_limit_set_calls from tenant_schemas.postgresql_backend.introspection import DatabaseSchemaIntrospection import django.db.utils -- 2.7.0