mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
[1.6.x] Fixed #20667 - Removed discussion of DEBUG from tutorial.
Backport of 0d642aac86 from master.
This commit is contained in:
parent
02976a46c9
commit
3493f18d78
4 changed files with 27 additions and 52 deletions
|
@ -206,6 +206,21 @@ See :doc:`/howto/error-reporting` for details on error reporting by email.
|
|||
|
||||
.. _Sentry: http://sentry.readthedocs.org/en/latest/
|
||||
|
||||
Customize the default error views
|
||||
---------------------------------
|
||||
|
||||
Django includes default views and templates for several HTTP error codes. You
|
||||
may want to override the default templates by creating the following templates
|
||||
in your root template directory: ``404.html``, ``500.html``, ``403.html``, and
|
||||
``400.html``. The default views should suffice for 99% of Web applications, but
|
||||
if you desire to customize them, see these instructions which also contain
|
||||
details about the default templates:
|
||||
|
||||
* :ref:`http_not_found_view`
|
||||
* :ref:`http_internal_server_error_view`
|
||||
* :ref:`http_forbidden_view`
|
||||
* :ref:`http_bad_request_view`
|
||||
|
||||
Miscellaneous
|
||||
=============
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue