From 23cbed21876bf02f4600c0dac3a5277db5b2afbb Mon Sep 17 00:00:00 2001 From: Jon Janzen Date: Wed, 22 Mar 2023 02:21:04 -0700 Subject: Refs #31949 -- Enabled @sensitive_variables to work with async functions. --- docs/howto/error-reporting.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/howto') diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index 95adfce755..425aa3144e 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -194,6 +194,10 @@ filtered out of error reports in a production environment (that is, where def process_info(user): ... + .. versionchanged:: 5.0 + + :func:`sensitive_variables` can now be used to wrap ``async`` functions. + .. function:: sensitive_post_parameters(*parameters) If one of your views receives an :class:`~django.http.HttpRequest` object @@ -234,6 +238,10 @@ filtered out of error reports in a production environment (that is, where ``user_change_password`` in the ``auth`` admin) to prevent the leaking of sensitive information such as user passwords. + .. versionchanged:: 5.0 + + :func:`sensitive_post_parameters` can now be used to wrap ``async`` functions. + .. _custom-error-reports: Custom error reports -- cgit v1.3