diff --git a/django/http/__init__.py b/django/http/__init__.py index eb28168260..ed2c128a16 100644 --- a/django/http/__init__.py +++ b/django/http/__init__.py @@ -272,6 +272,9 @@ class HttpResponsePermanentRedirect(HttpResponse): class HttpResponseNotModified(HttpResponse): status_code = 304 +class HttpResponseBadRequest(HttpResponse): + status_code = 400 + class HttpResponseNotFound(HttpResponse): status_code = 404