summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2013-09-22 11:21:09 -0300
committerRamiro Morales <cramm0@gmail.com>2013-09-22 13:54:54 -0300
commitb2876c0c914be0f12b57c7e6e4f6fae671108096 (patch)
treeeae55f7d2a3d3020228ed0c2fcc3a0810b55e911 /docs/ref
parentaef809f90cf9fda0bc2d7337a2e1c61d69b8e621 (diff)
[1.6.x] A few doc additions for changes from d228c1192e.
ce0c5c38ea from master.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/urls.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/ref/urls.txt b/docs/ref/urls.txt
index e68edc8254..3ab04cbd63 100644
--- a/docs/ref/urls.txt
+++ b/docs/ref/urls.txt
@@ -112,6 +112,23 @@ include()
See :ref:`including-other-urlconfs` and :ref:`namespaces-and-include`.
+handler400
+----------
+
+.. data:: handler400
+
+.. versionadded:: 1.6
+
+A callable, or a string representing the full Python import path to the view
+that should be called if the HTTP client has sent a request that caused an error
+condition and a response with a status code of 400.
+
+By default, this is ``'django.views.defaults.permission_denied'``. That default
+value should suffice.
+
+See the documentation about :ref:`the 400 (bad request) view
+<http_bad_request_view>` for more information.
+
handler403
----------