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:46:16 -0300
commitce0c5c38ea77a32e5d6d24082d3a8119ad8714cd (patch)
tree51bbb4099dc13262815a682a710a38edaf9fcd15 /docs/ref
parent9dc45efebae4ad46151a9d059d62e7713ccf469b (diff)
A few doc additions for changes from d228c1192e.
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
----------