diff options
| author | Pavel Savchenko | 2012-10-31 00:37:30 +0200 | 
|---|---|---|
| committer | Pavel Savchenko | 2012-10-31 00:37:30 +0200 | 
| commit | a3ace366db4c664c88bf76b10b40b4c576c130dd (patch) | |
| tree | e09ee831ac534f2b410c4ea9615cc67a219f558c /docs/tutorial/2-requests-and-responses.md | |
| parent | 166025c0fcd0cfdcac1dbcbf31dbfc1d43f666b4 (diff) | |
| download | django-rest-framework-a3ace366db4c664c88bf76b10b40b4c576c130dd.tar.bz2 | |
using 'pk' in fields throws KeyError
add missing imports
Browsable API seems to be working fine with FBV's (2.0.0)
removing snippets from the URI doesn't make sense
remain consistent in using SnippetDetail
Diffstat (limited to 'docs/tutorial/2-requests-and-responses.md')
| -rw-r--r-- | docs/tutorial/2-requests-and-responses.md | 2 | 
1 files changed, 0 insertions, 2 deletions
| diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md index 938739fa..a7c23cba 100644 --- a/docs/tutorial/2-requests-and-responses.md +++ b/docs/tutorial/2-requests-and-responses.md @@ -130,8 +130,6 @@ Go ahead and test the API from the command line, as we did in [tutorial part 1][  Now go and open the API in a web browser, by visiting [http://127.0.0.1:8000/snippets/][devserver]." -**Note: Right now the Browseable API only works with the CBV's.  Need to fix that.** -  ### Browsability  Because the API chooses a return format based on what the client asks for, it will, by default, return an HTML-formatted representation of the resource when that resource is requested by a browser. This allows for the API to be easily browsable and usable by humans. | 
