Commit 3f7615cd authored by Claude Paroz's avatar Claude Paroz
Browse files

Fixed #22317 -- Fixed documented handler400 default value

parent 58161e4e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
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.

See the documentation about :ref:`the 400 (bad request) view