summaryrefslogtreecommitdiff
path: root/django/forms/forms.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-06-29 18:34:41 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-06-29 18:49:37 +0200
commitacd7b34aafe352ef604edcb73f75041c5cbba6b9 (patch)
treeeecb1df66a2070e9a357380fba89febd38c488f4 /django/forms/forms.py
parent8b9b8d3bda09eb1b447631182d06c6c5e51425f6 (diff)
Advanced deprecation warnings for Django 1.7.
Diffstat (limited to 'django/forms/forms.py')
-rw-r--r--django/forms/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/forms/forms.py b/django/forms/forms.py
index b25eeb30a4..6d59271d17 100644
--- a/django/forms/forms.py
+++ b/django/forms/forms.py
@@ -352,7 +352,7 @@ class BaseForm(object):
if hasattr(field.widget, '_has_changed'):
warnings.warn("The _has_changed method on widgets is deprecated,"
" define it at field level instead.",
- PendingDeprecationWarning, stacklevel=2)
+ DeprecationWarning, stacklevel=2)
if field.widget._has_changed(initial_value, data_value):
self._changed_data.append(name)
elif field._has_changed(initial_value, data_value):