Loading docs/topics/http/urls.txt +6 −0 Original line number Diff line number Diff line Loading @@ -314,6 +314,9 @@ that should be called if none of the URL patterns match. By default, this is ``'django.views.defaults.page_not_found'``. That default value should suffice. See the documentation about :ref:`the 404 (HTTP Not Found) view <http_not_found_view>` for more information. handler500 ---------- Loading @@ -326,6 +329,9 @@ have runtime errors in view code. By default, this is ``'django.views.defaults.server_error'``. That default value should suffice. See the documentation about :ref:`the 500 (HTTP Internal Server Error) view <http_internal_server_error_view>` for more information. Notes on capturing text in URLs =============================== Loading docs/topics/http/views.txt +4 −0 Original line number Diff line number Diff line Loading @@ -127,6 +127,8 @@ called ``404.html`` and located in the top level of your template tree. Customizing error views ======================= .. _http_not_found_view: The 404 (page not found) view ----------------------------- Loading Loading @@ -167,6 +169,8 @@ Four things to note about 404 views: your 404 view will never be used, and your URLconf will be displayed instead, with some debug information. .. _http_internal_server_error_view: The 500 (server error) view ---------------------------- Loading Loading
docs/topics/http/urls.txt +6 −0 Original line number Diff line number Diff line Loading @@ -314,6 +314,9 @@ that should be called if none of the URL patterns match. By default, this is ``'django.views.defaults.page_not_found'``. That default value should suffice. See the documentation about :ref:`the 404 (HTTP Not Found) view <http_not_found_view>` for more information. handler500 ---------- Loading @@ -326,6 +329,9 @@ have runtime errors in view code. By default, this is ``'django.views.defaults.server_error'``. That default value should suffice. See the documentation about :ref:`the 500 (HTTP Internal Server Error) view <http_internal_server_error_view>` for more information. Notes on capturing text in URLs =============================== Loading
docs/topics/http/views.txt +4 −0 Original line number Diff line number Diff line Loading @@ -127,6 +127,8 @@ called ``404.html`` and located in the top level of your template tree. Customizing error views ======================= .. _http_not_found_view: The 404 (page not found) view ----------------------------- Loading Loading @@ -167,6 +169,8 @@ Four things to note about 404 views: your 404 view will never be used, and your URLconf will be displayed instead, with some debug information. .. _http_internal_server_error_view: The 500 (server error) view ---------------------------- Loading