Safe exception reporter filter which also filters request environment (
META) and cookies (
COOKIES) so that it is safer to share the report publicly.
This is useful to not display passwords and other sensitive data passed to Django through its process environment.
Furthermore, it configures Django to additionally clean settings with
To install it, configure Django to:
DEFAULT_EXCEPTION_REPORTER_FILTER = 'missing.debug.SafeExceptionReporterFilter'
missing.debugsomewhere in your code, for example, in
urls.pyof your project.
Requires Django 1.4+.
NoReverseMatch is by default a silent exception in variables, its output replaced by
setting. Sometimes you want a bit more loud expression of mismatched URL reversing, so you can set
True to normally raise an exception. Only active when
True as well.