diff --git a/django/contrib/admin/util.py b/django/contrib/admin/util.py deleted file mode 100644 index 416b75e7b2..0000000000 --- a/django/contrib/admin/util.py +++ /dev/null @@ -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 diff --git a/django/contrib/gis/db/backends/util.py b/django/contrib/gis/db/backends/util.py deleted file mode 100644 index 08f1ca8d80..0000000000 --- a/django/contrib/gis/db/backends/util.py +++ /dev/null @@ -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 diff --git a/django/db/backends/util.py b/django/db/backends/util.py deleted file mode 100644 index 5797830974..0000000000 --- a/django/db/backends/util.py +++ /dev/null @@ -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 diff --git a/django/forms/util.py b/django/forms/util.py deleted file mode 100644 index e093068275..0000000000 --- a/django/forms/util.py +++ /dev/null @@ -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 diff --git a/tests/forms_tests/tests/test_fields.py b/tests/forms_tests/tests/test_fields.py index ea6e842475..d04001b6b2 100644 --- a/tests/forms_tests/tests/test_fields.py +++ b/tests/forms_tests/tests/test_fields.py @@ -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') ]