aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/3-class-based-views.md
diff options
context:
space:
mode:
authorAlec Perkins2012-09-07 14:31:24 -0400
committerAlec Perkins2012-09-07 14:31:24 -0400
commitf95f96aba7c7f1ea26af09b9e768d5c8997bac98 (patch)
tree5c62ff7e50991dec0457ba0c15cbaace814e809f /docs/tutorial/3-class-based-views.md
parent7f681d72fcd7b637cf4976c7e381c382b852958c (diff)
downloaddjango-rest-framework-f95f96aba7c7f1ea26af09b9e768d5c8997bac98.tar.bz2
[docs] Fix typo, add link to Tom's Twitter profile
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 b3000ad9..d5ba045e 100644
--- a/docs/tutorial/3-class-based-views.md
+++ b/docs/tutorial/3-class-based-views.md
@@ -7,7 +7,7 @@ We can also write our API views using class based views, rather than function ba
We'll start by rewriting the root view as a class based view. All this involves is a little bit of refactoring.
from blog.models import Comment
- from blog.serializers import ComentSerializer
+ from blog.serializers import CommentSerializer
from django.http import Http404
from djangorestframework.views import APIView
from djangorestframework.response import Response