diff options
| author | Tom Christie | 2014-08-18 11:10:41 +0100 | 
|---|---|---|
| committer | Tom Christie | 2014-08-18 11:10:41 +0100 | 
| commit | 623304a19dbbb7bfe67b865edbaf47205bdba429 (patch) | |
| tree | 5154224dbe15415f5613d9a3db76b622ad1d944e /tutorial/4-authentication-and-permissions.html | |
| parent | 435ba7e5a88674513e20da19562b311721cc930f (diff) | |
| download | django-rest-framework-623304a19dbbb7bfe67b865edbaf47205bdba429.tar.bz2 | |
Latest docs deploy
Diffstat (limited to 'tutorial/4-authentication-and-permissions.html')
| -rw-r--r-- | tutorial/4-authentication-and-permissions.html | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tutorial/4-authentication-and-permissions.html b/tutorial/4-authentication-and-permissions.html index 8f59a2f5..01d84818 100644 --- a/tutorial/4-authentication-and-permissions.html +++ b/tutorial/4-authentication-and-permissions.html @@ -304,7 +304,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 the URLconf in our project-level urls.py file.</p> +<p>We can add a login view for use with the browsable API, by editing the URLconf in our project-level <code>urls.py</code> 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> | 
