Browse files

Added backwards compatability shims for util modules.

refs #17627
  • Loading branch information...
1 parent 18ffdb1 commit f40c82213f28109be8eb3ee516bc4a13461352c8 @timgraham timgraham committed Sep 16, 2013
Showing with 28 additions and 0 deletions.
  1. +7 −0 django/contrib/admin/util.py
  2. +7 −0 django/contrib/gis/db/backends/util.py
  3. +7 −0 django/db/backends/util.py
  4. +7 −0 django/forms/util.py
View
7 django/contrib/admin/util.py
@@ -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 *
View
7 django/contrib/gis/db/backends/util.py
@@ -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 *
View
7 django/db/backends/util.py
@@ -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 *
View
7 django/forms/util.py
@@ -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 *

0 comments on commit f40c822

Please sign in to comment.