Fixed #22317 -- Fixed documented handler400 default value
This commit is contained in:
parent
58161e4e93
commit
3f7615cddc
|
@ -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…
Reference in New Issue