diff options
| author | Xavier Ordoquy | 2015-01-27 23:15:26 +0100 | 
|---|---|---|
| committer | Xavier Ordoquy | 2015-01-27 23:15:26 +0100 | 
| commit | 987880e13138a93d9cc0e44b7ed30297909f7b03 (patch) | |
| tree | 1925d91078eff41d05a8e9840c503b6117d41446 /tutorial/3-class-based-views | |
| parent | d8dbd8679080035de4e785a8e7b998fb01f4052b (diff) | |
| download | django-rest-framework-987880e13138a93d9cc0e44b7ed30297909f7b03.tar.bz2 | |
Update documentation
Diffstat (limited to 'tutorial/3-class-based-views')
| -rw-r--r-- | tutorial/3-class-based-views/index.html | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tutorial/3-class-based-views/index.html b/tutorial/3-class-based-views/index.html index 8d3886c9..03263869 100644 --- a/tutorial/3-class-based-views/index.html +++ b/tutorial/3-class-based-views/index.html @@ -441,7 +441,7 @@ class SnippetList(APIView):  </code></pre>  <p>That's looking good.  Again, it's still pretty similar to the function based view right now.</p>  <p>We'll also need to refactor our <code>urls.py</code> slightly now we're using class based views.</p> -<pre><code>from django.conf.urls import patterns, url +<pre><code>from django.conf.urls import url  from rest_framework.urlpatterns import format_suffix_patterns  from snippets import views | 
