From c1df35b0fa1028e3708508f8b8de5d7f0d993407 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 2 Apr 2011 08:34:15 +0000 Subject: [PATCH] Advanced deprecations in contrib.formtools. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15972 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/formtools/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/formtools/utils.py b/django/contrib/formtools/utils.py index 927f44bfb0d..448950649dc 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