aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial
diff options
context:
space:
mode:
authorTom Christie2013-02-23 22:13:06 +0000
committerTom Christie2013-02-23 22:13:06 +0000
commit4599cd97cbbfd2f569408cbadef3a3753d19f406 (patch)
tree724bd840a7b6610cb3d834c86caea61eabe649d6 /docs/tutorial
parentea7d73f57e4cb69d5321188e33019c7ab3b89d8e (diff)
downloaddjango-rest-framework-4599cd97cbbfd2f569408cbadef3a3753d19f406.tar.bz2
Fix curl response.
Didn't map to the correct stage of the tutorial.
Diffstat (limited to 'docs/tutorial')
-rw-r--r--docs/tutorial/4-authentication-and-permissions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/4-authentication-and-permissions.md b/docs/tutorial/4-authentication-and-permissions.md
index 9ac9deac..3c4e042b 100644
--- a/docs/tutorial/4-authentication-and-permissions.md
+++ b/docs/tutorial/4-authentication-and-permissions.md
@@ -195,7 +195,7 @@ We can make a successful request by including the username and password of one o
curl -X POST http://127.0.0.1:8000/snippets/ -d "code=print 789" -u tom:password
- {"url": "http://127.0.0.1:8000/snippets/5/", "highlight": "http://127.0.0.1:8000/snippets/5/highlight/", "owner": "tom", "title": "foo", "code": "print 789", "linenos": false, "language": "python", "style": "friendly"}
+ {"id": 5, "owner": "tom", "title": "foo", "code": "print 789", "linenos": false, "language": "python", "style": "friendly"}
## Summary