Projet

Général

Profil

0001-import-ContentType-ContentTypeManager-from-contentty.patch

Frédéric Péters, 16 mars 2016 11:03

Télécharger (1,12 ko)

Voir les différences:

Subject: [PATCH] import ContentType, ContentTypeManager from contenttypes
 module (#10308)

 tenant_schemas/postgresql_backend/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-