1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00

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

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