aboutsummaryrefslogtreecommitdiffstats
path: root/tutorial/4-authentication-and-permissions.html
diff options
context:
space:
mode:
authorTom Christie2014-03-06 09:02:46 +0000
committerTom Christie2014-03-06 09:02:46 +0000
commit7dc3dbbad1edaac1ac16ef51040f9ff3138fad4e (patch)
treeba1c975eec194a42c38b2f14897729192aa30d10 /tutorial/4-authentication-and-permissions.html
parent33f1cd24cd84cc7e0ec2a76d1d8fed04dd401435 (diff)
downloaddjango-rest-framework-7dc3dbbad1edaac1ac16ef51040f9ff3138fad4e.tar.bz2
Update docs
Diffstat (limited to 'tutorial/4-authentication-and-permissions.html')
-rw-r--r--tutorial/4-authentication-and-permissions.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/4-authentication-and-permissions.html b/tutorial/4-authentication-and-permissions.html
index 65cc65e2..d2f2f803 100644
--- a/tutorial/4-authentication-and-permissions.html
+++ b/tutorial/4-authentication-and-permissions.html
@@ -290,7 +290,7 @@ url(r'^users/(?P<pk>[0-9]+)/$', views.UserDetail.as_view()),
</code></pre>
<h2 id="adding-login-to-the-browsable-api">Adding login to the Browsable API</h2>
<p>If you open a browser and navigate to the browsable API at the moment, you'll find that you're no longer able to create new code snippets. In order to do so we'd need to be able to login as a user.</p>
-<p>We can add a login view for use with the browsable API, by editing our URLconf once more.</p>
+<p>We can add a login view for use with the browsable API, by editing the URLconf in our project-level urls.py file.</p>
<p>Add the following import at the top of the file:</p>
<pre class="prettyprint lang-py"><code>from django.conf.urls import include
</code></pre>