diff options
| author | Elif T. Kus <elifkus@gmail.com> | 2016-01-03 12:56:22 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-01-22 12:12:17 -0500 |
| commit | bca9faae95db2a92e540fbd08505c134639916fe (patch) | |
| tree | 92b34dd8ecf8cf5432c25d43292ebc83b7919350 /docs/howto/error-reporting.txt | |
| parent | 79d0a4fdb0d13ba6a843dace2b90ab44e856bd85 (diff) | |
Fixed #26020 -- Normalized header stylings in docs.
Diffstat (limited to 'docs/howto/error-reporting.txt')
| -rw-r--r-- | docs/howto/error-reporting.txt | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/howto/error-reporting.txt b/docs/howto/error-reporting.txt index d27f734398..fc043375d4 100644 --- a/docs/howto/error-reporting.txt +++ b/docs/howto/error-reporting.txt @@ -1,3 +1,4 @@ +=============== Error reporting =============== @@ -12,10 +13,10 @@ You need to keep track of errors that occur in deployed sites, so Django can be configured to create reports with details about those errors. Email reports -------------- +============= Server errors -~~~~~~~~~~~~~ +------------- When :setting:`DEBUG` is ``False``, Django will email the users listed in the :setting:`ADMINS` setting whenever your code raises an unhandled exception and @@ -49,7 +50,7 @@ To activate this behavior, put the email addresses of the recipients in the </topics/logging>`. 404 errors -~~~~~~~~~~ +---------- Django can also be configured to email errors about broken links (404 "page not found" errors). Django sends emails about 404 errors when: @@ -119,7 +120,7 @@ and override its methods. .. _filtering-error-reports: Filtering error reports ------------------------ +======================= .. warning:: @@ -130,7 +131,7 @@ Filtering error reports through email). Filtering sensitive information -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +------------------------------- .. currentmodule:: django.views.decorators.debug @@ -231,7 +232,7 @@ production environment (that is, where :setting:`DEBUG` is set to ``False``): .. _custom-error-reports: Custom error reports -~~~~~~~~~~~~~~~~~~~~ +-------------------- All :func:`sensitive_variables` and :func:`sensitive_post_parameters` do is, respectively, annotate the decorated function with the names of sensitive |
