mirror of
https://github.com/django/django.git
synced 2025-12-09 19:08:06 +00:00
Fixed #25099 -- Cleaned up HttpRequest representations in error reporting.
This commit is contained in:
parent
6bdd3840be
commit
8f8c54f70b
8 changed files with 34 additions and 103 deletions
|
|
@ -255,13 +255,6 @@ following methods:
|
|||
Returns ``True`` to activate the filtering operated in the other methods.
|
||||
By default the filter is active if :setting:`DEBUG` is ``False``.
|
||||
|
||||
.. method:: SafeExceptionReporterFilter.get_request_repr(request)
|
||||
|
||||
Returns the representation string of the request object, that is, the
|
||||
value that would be returned by ``repr(request)``, except it uses the
|
||||
filtered dictionary of POST parameters as determined by
|
||||
:meth:`SafeExceptionReporterFilter.get_post_parameters`.
|
||||
|
||||
.. method:: SafeExceptionReporterFilter.get_post_parameters(request)
|
||||
|
||||
Returns the filtered dictionary of POST parameters. By default it replaces
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue