summaryrefslogtreecommitdiff
path: root/django/forms
diff options
context:
space:
mode:
authorChris Beaven <smileychris@gmail.com>2014-03-27 15:43:31 +1300
committerChris Beaven <smileychris@gmail.com>2014-03-27 15:44:52 +1300
commitb077ba7ac1af3fb6557d9d32dc08cf6da07cc73d (patch)
tree10aeb3c8c508c85cb100e97755f95cec6ab20cb9 /django/forms
parentbf2b0affe42c9c7334188129e39fcdcbca126351 (diff)
Add a useful stacklevel to some RemovedInDjango19Warnings
Diffstat (limited to 'django/forms')
-rw-r--r--django/forms/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/util.py b/django/forms/util.py
index 42d521105e..e093068275 100644
--- a/django/forms/util.py
+++ b/django/forms/util.py
@@ -4,6 +4,6 @@ from django.utils.deprecation import RemovedInDjango19Warning
warnings.warn(
"The django.forms.util module has been renamed. "
- "Use django.forms.utils instead.", RemovedInDjango19Warning)
+ "Use django.forms.utils instead.", RemovedInDjango19Warning, stacklevel=2)
from django.forms.utils import * # NOQA