Added backwards compatability shims for util modules.

refs #17627
This commit is contained in:
Tim Graham 2013-09-16 12:53:42 -04:00
parent 18ffdb1772
commit f40c82213f
4 changed files with 28 additions and 0 deletions

View File

@ -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 File

@ -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 File

@ -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 Normal file
View File

@ -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 *