Simplified deployment checklist docs on customizing error views.

This commit is contained in:
Adam Johnson 2018-10-11 12:46:46 +01:00 committed by Tim Graham
parent adfdb9f169
commit cecd656184
1 changed files with 3 additions and 8 deletions

View File

@ -252,11 +252,6 @@ Customize the default error views
Django includes default views and templates for several HTTP error codes. You Django includes default views and templates for several HTTP error codes. You
may want to override the default templates by creating the following templates may want to override the default templates by creating the following templates
in your root template directory: ``404.html``, ``500.html``, ``403.html``, and 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 ``400.html``. The :ref:`default error views <error-views>` that use these
if you desire to customize them, see these instructions which also contain templates should suffice for 99% of Web applications, but you can
details about the default templates: :ref:`customize them <customizing-error-views>` as well.
* :ref:`http_not_found_view`
* :ref:`http_internal_server_error_view`
* :ref:`http_forbidden_view`
* :ref:`http_bad_request_view`