Advanced deprecations in contrib.formtools.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2011-04-02 08:34:15 +00:00
parent fe12415231
commit c1df35b0fa
1 changed files with 1 additions and 1 deletions

View File

@ -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