diff options
| author | Tom Christie | 2013-10-18 09:10:54 +0100 | 
|---|---|---|
| committer | Tom Christie | 2013-10-18 09:10:54 +0100 | 
| commit | 78c8e6de40f89580b9a4cefb6595d52bc1a6afbc (patch) | |
| tree | e5f414aa54248d7f72dbefcd1d1396d5ee3c8a63 /docs/tutorial | |
| parent | bad5083e09e840dec0cc5d8b2d086e3d231c63f9 (diff) | |
| download | django-rest-framework-78c8e6de40f89580b9a4cefb6595d52bc1a6afbc.tar.bz2 | |
Update 2-requests-and-responses.md
Diffstat (limited to 'docs/tutorial')
| -rw-r--r-- | docs/tutorial/2-requests-and-responses.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md index ba9eb723..7fa4f3e4 100644 --- a/docs/tutorial/2-requests-and-responses.md +++ b/docs/tutorial/2-requests-and-responses.md @@ -64,7 +64,7 @@ We don't need our `JSONResponse` class in `views.py` anymore, so go ahead and de  Our instance view is an improvement over the previous example.  It's a little more concise, and the code now feels very similar to if we were working with the Forms API.  We're also using named status codes, which makes the response meanings more obvious. -Here is the view for an individual snippet (still in `views.py`). +Here is the view for an individual snippet, in the `views.py` module.      @api_view(['GET', 'PUT', 'DELETE'])      def snippet_detail(request, pk): | 
