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:
parent
fe12415231
commit
c1df35b0fa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue