diff options
Diffstat (limited to 'tutorial/3-class-based-views/index.html')
| -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 | 
