summaryrefslogtreecommitdiff
path: root/django/contrib/contenttypes/checks.py
diff options
context:
space:
mode:
authorSimon Charette <charette.s@gmail.com>2014-01-22 01:43:33 -0500
committerSimon Charette <charette.s@gmail.com>2014-01-26 14:42:30 -0500
commit10e3faf191d8f230dde8534d1c8fad8c8717816e (patch)
tree26d597787a0a22f0f11b1d1e0daf0c3b1feb5805 /django/contrib/contenttypes/checks.py
parentc3881944e8651ad98e29561154186e87928ca319 (diff)
Fixed #19774 -- Deprecated the contenttypes.generic module.
It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
Diffstat (limited to 'django/contrib/contenttypes/checks.py')
-rw-r--r--django/contrib/contenttypes/checks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/contenttypes/checks.py b/django/contrib/contenttypes/checks.py
index dcd3a58b9f..890859505a 100644
--- a/django/contrib/contenttypes/checks.py
+++ b/django/contrib/contenttypes/checks.py
@@ -6,7 +6,7 @@ from django.apps import apps
def check_generic_foreign_keys(**kwargs):
- from .generic import GenericForeignKey
+ from .fields import GenericForeignKey
errors = []
fields = (obj