mirror of
https://github.com/django/django.git
synced 2025-03-13 10:50:55 +00:00
[1.6.x] Fixed #22317 -- Fixed documented handler400 default value
Backport of 3f7615cddc from master.
This commit is contained in:
parent
c9b2feffee
commit
d908b67e81
@ -123,7 +123,7 @@ 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
|
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.
|
condition and a response with a status code of 400.
|
||||||
|
|
||||||
By default, this is ``'django.views.defaults.permission_denied'``. That default
|
By default, this is ``'django.views.defaults.bad_request'``. That default
|
||||||
value should suffice.
|
value should suffice.
|
||||||
|
|
||||||
See the documentation about :ref:`the 400 (bad request) view
|
See the documentation about :ref:`the 400 (bad request) view
|
||||||
|
Loading…
x
Reference in New Issue
Block a user