summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-04-02 08:34:15 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-04-02 08:34:15 +0000
commitc1df35b0fa1028e3708508f8b8de5d7f0d993407 (patch)
tree8e86f69e6d03c246a1e0d3074dfa537b0b384f2a
parentfe124152315ef21c0673b12ecd2d5f0bd6f271b2 (diff)
Advanced deprecations in contrib.formtools.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/formtools/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/formtools/utils.py b/django/contrib/formtools/utils.py
index 927f44bfb0..448950649d 100644
--- a/django/contrib/formtools/utils.py
+++ b/django/contrib/formtools/utils.py
@@ -19,7 +19,7 @@ def security_hash(request, form, *args):
"""
import warnings
warnings.warn("security_hash is deprecated; use form_hmac instead",
- PendingDeprecationWarning)
+ DeprecationWarning)
data = []
for bf in form:
# Get the value from the form data. If the form allows empty or hasn't