aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial/4-authentication-and-permissions/index.html
diff options
context:
space:
mode:
authorTom Christie2014-12-17 21:10:17 +0000
committerTom Christie2014-12-17 21:10:17 +0000
commit3c56601df7420d3e396f39a4413f21b9d277dd0d (patch)
tree577ea74fc5bbb9739a5ee87119533b4e6e402164 /tutorial/4-authentication-and-permissions/index.html
parenta0a601301ff0a42d1e0905d29194e638690f32bb (diff)
downloaddjango-rest-framework-3c56601df7420d3e396f39a4413f21b9d277dd0d.tar.bz2
Update documentation
Diffstat (limited to 'tutorial/4-authentication-and-permissions/index.html')
-rw-r--r--tutorial/4-authentication-and-permissions/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/4-authentication-and-permissions/index.html b/tutorial/4-authentication-and-permissions/index.html
index 7585afff..f4661bde 100644
--- a/tutorial/4-authentication-and-permissions/index.html
+++ b/tutorial/4-authentication-and-permissions/index.html
@@ -555,7 +555,7 @@ class IsOwnerOrReadOnly(permissions.BasePermission):
}
</code></pre>
<p>We can make a successful request by including the username and password of one of the users we created earlier.</p>
-<pre><code>http POST -a tom:password http://127.0.0.1:8000/snippets/ code="print 789"
+<pre><code>http -a tom:password POST http://127.0.0.1:8000/snippets/ code="print 789"
{
"id": 5,