Kaydet (Commit) 6a643b03 authored tarafından Malcolm Tredinnick's avatar Malcolm Tredinnick

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


git-svn-id: http://code.djangoproject.com/svn/django/trunk@4866 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 3c6609ac
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment