diff options
| author | Tom Christie | 2012-08-29 20:57:37 +0100 |
|---|---|---|
| committer | Tom Christie | 2012-08-29 20:57:37 +0100 |
| commit | 578017e01d1da4746ae0045268043cfd74d41b42 (patch) | |
| tree | d729eb93484247fa44b509a4b693811e6978a190 /docs/status.md | |
| parent | 21f59162db37c656b4f025cdd8e13cdb9933a4fc (diff) | |
| download | django-rest-framework-578017e01d1da4746ae0045268043cfd74d41b42.tar.bz2 | |
New docs
Diffstat (limited to 'docs/status.md')
| -rw-r--r-- | docs/status.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/status.md b/docs/status.md new file mode 100644 index 00000000..ca866cad --- /dev/null +++ b/docs/status.md @@ -0,0 +1,17 @@ +Status Codes +============ + +> 418 I'm a teapot - Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout. + - RFC 2324 + +REST framework provides a ... +These are simply ... + + from djangorestframework import status + + def view(self): + return Response(status=status.HTTP_404_NOT_FOUND) + +For more information see [RFC 2616](1). + +[1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
\ No newline at end of file |
