mirror of https://github.com/django/django.git
Removed backwards compatibility shims for "util" modules per deprecation timeline.
refs #17627.
This commit is contained in:
parent
d79a30ba3f
commit
9ce36512fa
|
@ -1,9 +0,0 @@
|
|||
import warnings
|
||||
|
||||
from django.utils.deprecation import RemovedInDjango19Warning
|
||||
|
||||
warnings.warn(
|
||||
"The django.contrib.admin.util module has been renamed. "
|
||||
"Use django.contrib.admin.utils instead.", RemovedInDjango19Warning)
|
||||
|
||||
from django.contrib.admin.utils import * # NOQA
|
|
@ -1,10 +0,0 @@
|
|||
import warnings
|
||||
|
||||
from django.utils.deprecation import RemovedInDjango19Warning
|
||||
|
||||
warnings.warn(
|
||||
"The django.contrib.gis.db.backends.util module has been renamed. "
|
||||
"Use django.contrib.gis.db.backends.utils instead.",
|
||||
RemovedInDjango19Warning, stacklevel=2)
|
||||
|
||||
from django.contrib.gis.db.backends.utils import * # NOQA
|
|
@ -1,10 +0,0 @@
|
|||
import warnings
|
||||
|
||||
from django.utils.deprecation import RemovedInDjango19Warning
|
||||
|
||||
warnings.warn(
|
||||
"The django.db.backends.util module has been renamed. "
|
||||
"Use django.db.backends.utils instead.", RemovedInDjango19Warning,
|
||||
stacklevel=2)
|
||||
|
||||
from django.db.backends.utils import * # NOQA
|
|
@ -1,9 +0,0 @@
|
|||
import warnings
|
||||
|
||||
from django.utils.deprecation import RemovedInDjango19Warning
|
||||
|
||||
warnings.warn(
|
||||
"The django.forms.util module has been renamed. "
|
||||
"Use django.forms.utils instead.", RemovedInDjango19Warning, stacklevel=2)
|
||||
|
||||
from django.forms.utils import * # NOQA
|
|
@ -1274,7 +1274,6 @@ class FieldsTests(SimpleTestCase):
|
|||
('/django/forms/forms.py', 'forms.py'),
|
||||
('/django/forms/formsets.py', 'formsets.py'),
|
||||
('/django/forms/models.py', 'models.py'),
|
||||
('/django/forms/util.py', 'util.py'),
|
||||
('/django/forms/utils.py', 'utils.py'),
|
||||
('/django/forms/widgets.py', 'widgets.py')
|
||||
]
|
||||
|
@ -1295,7 +1294,6 @@ class FieldsTests(SimpleTestCase):
|
|||
('/django/forms/forms.py', 'forms.py'),
|
||||
('/django/forms/formsets.py', 'formsets.py'),
|
||||
('/django/forms/models.py', 'models.py'),
|
||||
('/django/forms/util.py', 'util.py'),
|
||||
('/django/forms/utils.py', 'utils.py'),
|
||||
('/django/forms/widgets.py', 'widgets.py')
|
||||
]
|
||||
|
@ -1316,7 +1314,6 @@ class FieldsTests(SimpleTestCase):
|
|||
('/django/forms/forms.py', 'forms.py'),
|
||||
('/django/forms/formsets.py', 'formsets.py'),
|
||||
('/django/forms/models.py', 'models.py'),
|
||||
('/django/forms/util.py', 'util.py'),
|
||||
('/django/forms/utils.py', 'utils.py'),
|
||||
('/django/forms/widgets.py', 'widgets.py')
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue