views.debug.SafeExceptionReporterFilter.get_traceback_frame_variables()

SafeExceptionReporterFilter.get_traceback_frame_variables(request, tb_frame) [source]

Returns the filtered dictionary of local variables for the given traceback frame. By default it replaces the values of sensitive variables with stars (**********).

See also

You can also set up custom error reporting by writing a custom piece of exception middleware. If you do write custom error handling, it’s a good idea to emulate Django’s built-in error handling and only report/log errors if DEBUG is False.

doc_Django
2016-10-09 18:40:43
Comments
Leave a Comment

Please login to continue.