Documented HttpResponseBadRequest. Refs #3847 and [4867]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4890 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-04-01 05:18:47 +00:00
parent 4552175d44
commit 99fbb7b62b
1 changed files with 4 additions and 0 deletions

View File

@ -416,6 +416,10 @@ types of HTTP responses. Like ``HttpResponse``, these subclasses live in
The constructor doesn't take any arguments. Use this to designate that a
page hasn't been modified since the user's last request.
``HttpResponseBadRequest``
**New in Django development version.**
Acts just like ``HttpResponse`` but uses a 400 status code.
``HttpResponseNotFound``
Acts just like ``HttpResponse`` but uses a 404 status code.