diff options
Diffstat (limited to 'docs/howto/error-reporting.txt')
| -rw-r--r-- | docs/howto/error-reporting.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index 9ae194d4e0..d07404a1e9 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -256,7 +256,7 @@ given view by setting the ``HttpRequest``’s ``exception_reporter_filter`` attribute:: def my_view(request): - if request.user.is_authenticated(): + if request.user.is_authenticated: request.exception_reporter_filter = CustomExceptionReporterFilter() ... |
