mirror of
https://github.com/django/django.git
synced 2025-09-26 20:19:16 +00:00
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:
parent
4552175d44
commit
99fbb7b62b
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue