﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36848	Documentation doesn't directly mention that BadRequest is handled by handler400	Lincoln	Lincoln	"A `BadRequest` exception raised in a view, is handled by the `handler400` view (default `django.views.defaults.bad_request`).

https://github.com/django/django/blob/c68e4adea0703354508d51895b091771b1f6ac45/django/core/handlers/exception.py#L96-L104

Looking at the documentation, I can't see this link mentioned anywhere.

Places I looked:

* https://docs.djangoproject.com/en/dev/ref/views/#the-400-bad-request-view (This section only mentions `SuspiciousOperation`)
* https://docs.djangoproject.com/en/dev/topics/http/views/#customizing-error-views
* https://docs.djangoproject.com/en/dev/ref/urls/#handler400
* https://docs.djangoproject.com/en/dev/ref/exceptions/#badrequest

For comparison, This section about the 404 view

https://docs.djangoproject.com/en/dev/ref/views/#the-404-page-not-found-view

explicitly says ""When you raise Http404 from within a view, ..."""	Cleanup/optimization	closed	Documentation	dev	Normal	fixed	handler400 bad_request	Lincoln	Ready for checkin	1	0	0	0	0	0
