diff options
| author | Tim Graham <timograham@gmail.com> | 2013-09-15 14:14:26 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-09-15 14:22:24 -0400 |
| commit | e96bcdd64f92268820960f30637f88f206b011a9 (patch) | |
| tree | 4deee0c033cff5875645ee3af954ce51c45dbd77 /docs/howto/error-reporting.txt | |
| parent | 623c4916df545f985c66a269a712e95f2724f6d0 (diff) | |
[1.6.x] Cleaned up 1.5.4/1.4.8 release notes
Backport of 8d29005524 from master
Diffstat (limited to 'docs/howto/error-reporting.txt')
| -rw-r--r-- | docs/howto/error-reporting.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index 987a503e95..a9ce798dca 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -117,6 +117,8 @@ Filtering error reports Filtering sensitive information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +.. currentmodule:: django.views.decorators.debug + Error reports are really helpful for debugging errors, so it is generally useful to record as much relevant information about those errors as possible. For example, by default Django records the `full traceback`_ for the @@ -240,11 +242,13 @@ attribute:: request.exception_reporter_filter = CustomExceptionReporterFilter() ... +.. currentmodule:: django.views.debug + Your custom filter class needs to inherit from :class:`django.views.debug.SafeExceptionReporterFilter` and may override the following methods: -.. class:: django.views.debug.SafeExceptionReporterFilter +.. class:: SafeExceptionReporterFilter .. method:: SafeExceptionReporterFilter.is_active(self, request) |
