1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

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.
This commit is contained in:
Adam Johnson
2022-01-12 12:04:14 +00:00
committed by Mariusz Felisiak
parent d05ab13c56
commit 90cf963264
3 changed files with 11 additions and 8 deletions

View File

@@ -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
=======================