From 38e391e95fe5258bc6d2467332dc9cd44ce6ba52 Mon Sep 17 00:00:00 2001 From: Jon Janzen Date: Sat, 6 May 2023 20:20:00 -0700 Subject: Refs #31949 -- Made @sensitive_variables/sensitive_post_parameters decorators to work with async functions. Co-authored-by: Mariusz Felisiak --- docs/howto/error-reporting.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/howto/error-reporting.txt') diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index fd465ecf6b..875e56a51d 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -205,6 +205,10 @@ filtered out of error reports in a production environment (that is, where exception reporting, and consider implementing a :ref:`custom filter ` if necessary. + .. versionchanged:: 5.0 + + Support for wrapping ``async`` functions was added. + .. function:: sensitive_post_parameters(*parameters) If one of your views receives an :class:`~django.http.HttpRequest` object @@ -245,6 +249,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 + + Support for wrapping ``async`` functions was added. + .. _custom-error-reports: Custom error reports -- cgit v1.3