diff options
| author | Chris Beaven <smileychris@gmail.com> | 2014-03-27 15:43:31 +1300 |
|---|---|---|
| committer | Chris Beaven <smileychris@gmail.com> | 2014-03-27 15:44:52 +1300 |
| commit | b077ba7ac1af3fb6557d9d32dc08cf6da07cc73d (patch) | |
| tree | 10aeb3c8c508c85cb100e97755f95cec6ab20cb9 /django/forms | |
| parent | bf2b0affe42c9c7334188129e39fcdcbca126351 (diff) | |
Add a useful stacklevel to some RemovedInDjango19Warnings
Diffstat (limited to 'django/forms')
| -rw-r--r-- | django/forms/util.py | 2 |
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 |
