aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/3-class-based-views.md
diff options
context:
space:
mode:
authorTravis Swientek2015-01-09 11:36:21 -0800
committerTravis Swientek2015-01-09 11:36:21 -0800
commit8ccf5bcc0bb3455c0d71a0e0d845ef54489bb28e (patch)
tree58e9fd886ec19b938d20aa8ab8a7654d6e44c339 /docs/tutorial/3-class-based-views.md
parent4d9e7a53565f6301b87999e6bafdb1c2c3c2af3b (diff)
downloaddjango-rest-framework-8ccf5bcc0bb3455c0d71a0e0d845ef54489bb28e.tar.bz2
Tweaked a few issues in the tutorial documentation.
Diffstat (limited to 'docs/tutorial/3-class-based-views.md')
-rw-r--r--docs/tutorial/3-class-based-views.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/3-class-based-views.md b/docs/tutorial/3-class-based-views.md
index 0a9ea3f1..abf82e49 100644
--- a/docs/tutorial/3-class-based-views.md
+++ b/docs/tutorial/3-class-based-views.md
@@ -64,7 +64,7 @@ That's looking good. Again, it's still pretty similar to the function based vie
We'll also need to refactor our `urls.py` slightly now we're using class based views.
- from django.conf.urls import patterns, url
+ from django.conf.urls import url
from rest_framework.urlpatterns import format_suffix_patterns
from snippets import views