Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added backwards compatability shims for util modules.

refs #17627
  • Loading branch information...
commit f40c82213f28109be8eb3ee516bc4a13461352c8 1 parent 18ffdb1
Tim Graham timgraham authored
7 django/contrib/admin/util.py
View
@@ -0,0 +1,7 @@
+import warnings
+
+warnings.warn(
+ "The django.contrib.admin.util module has been renamed. "
+ "Use django.contrib.admin.utils instead.", PendingDeprecationWarning)
+
+from django.contrib.admin.utils import *
7 django/contrib/gis/db/backends/util.py
View
@@ -0,0 +1,7 @@
+import warnings
+
+warnings.warn(
+ "The django.contrib.gis.db.backends.util module has been renamed. "
+ "Use django.contrib.gis.db.backends.utils instead.", PendingDeprecationWarning)
+
+from django.contrib.gis.db.backends.utils import *
7 django/db/backends/util.py
View
@@ -0,0 +1,7 @@
+import warnings
+
+warnings.warn(
+ "The django.db.backends.util module has been renamed. "
+ "Use django.db.backends.utils instead.", PendingDeprecationWarning)
+
+from django.db.backends.utils import *
7 django/forms/util.py
View
@@ -0,0 +1,7 @@
+import warnings
+
+warnings.warn(
+ "The django.forms.util module has been renamed. "
+ "Use django.forms.utils instead.", PendingDeprecationWarning)
+
+from django.forms.utils import *
Please sign in to comment.
Something went wrong with that request. Please try again.