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