1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00

Fixed #3875 -- Added HttpResponseBadRequest. Thanks, Scott Barr.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2007-03-30 06:48:19 +00:00
parent 3c6609ac0c
commit 6a643b03d7

View File

@ -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