diff options
| author | Simon Charette <charette.s@gmail.com> | 2014-01-22 01:43:33 -0500 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2014-01-26 14:42:30 -0500 |
| commit | 10e3faf191d8f230dde8534d1c8fad8c8717816e (patch) | |
| tree | 26d597787a0a22f0f11b1d1e0daf0c3b1feb5805 /tests/generic_relations/tests.py | |
| parent | c3881944e8651ad98e29561154186e87928ca319 (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 'tests/generic_relations/tests.py')
| -rw-r--r-- | tests/generic_relations/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generic_relations/tests.py b/tests/generic_relations/tests.py index 8cd319bf03..ed12c5e92b 100644 --- a/tests/generic_relations/tests.py +++ b/tests/generic_relations/tests.py @@ -1,7 +1,7 @@ from __future__ import unicode_literals from django import forms -from django.contrib.contenttypes.generic import generic_inlineformset_factory +from django.contrib.contenttypes.forms import generic_inlineformset_factory from django.contrib.contenttypes.models import ContentType from django.test import TestCase from django.utils import six |
