From 594873befbbec13a2d9a048a361757dd3cf178da Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 17 Nov 2023 12:09:32 +0100 Subject: Removed obsolete warnings about asgiref.sync adapters with sensitive variables. Django 5.0+ required asgiref 3.7+, and this warning is obsolete for asgiref 3.7+ since https://github.com/django/asgiref/commit/be6635e0e79009e55cf7a999614186f061f9f09b. --- docs/howto/error-reporting.txt | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'docs/howto') diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index 74e11a6951..84fe3cb768 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -194,17 +194,6 @@ filtered out of error reports in a production environment (that is, where def process_info(user): ... - .. warning:: - - Due to the machinery needed to cross the sync/async boundary, - :func:`~asgiref.sync.sync_to_async` and - :func:`~asgiref.sync.async_to_sync` are **not** compatible with - ``sensitive_variables()``. - - If using these adapters with sensitive variables, ensure to audit - exception reporting, and consider implementing a :ref:`custom filter - ` if necessary. - .. versionchanged:: 5.0 Support for wrapping ``async`` functions was added. -- cgit v1.3