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:
committed by
Mariusz Felisiak
parent
d05ab13c56
commit
90cf963264
@@ -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
|
||||
=======================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user