From 90cf96326432df56a1cf981df215b83f4e993bfd Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 12 Jan 2022 12:04:14 +0000 Subject: Changed django.utils.log.log_response() to take exception instance. There's little point retrieving a fresh reference to the exception in the legacy tuple format, when it's all available via the exception instance we already have. --- docs/releases/4.1.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/4.1.txt b/docs/releases/4.1.txt index e3bc02f226..3b36e7ea54 100644 --- a/docs/releases/4.1.txt +++ b/docs/releases/4.1.txt @@ -400,6 +400,9 @@ Miscellaneous :meth:`~.SimpleTestCase.assertFormsetError` is deprecated. Use ``errors=[]`` instead. +* The ``exc_info`` argument of the undocumented + ``django.utils.log.log_response()`` function is replaced by ``exception``. + Features removed in 4.1 ======================= -- cgit v1.3