aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Bellemare2014-05-06 13:00:41 +0200
committerSylvain Bellemare2014-05-06 15:08:53 +0200
commit9dc5e15e5afaf806378bb52ea2134f8dec2af386 (patch)
treeee1d3e24900944e52c790f13a7e010306535dbd4
parent8e78a38de560f8c2cd318ab026960444d4cf16b4 (diff)
downloaddjango-rest-framework-9dc5e15e5afaf806378bb52ea2134f8dec2af386.tar.bz2
Added missing "the" word
-rw-r--r--docs/tutorial/6-viewsets-and-routers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/6-viewsets-and-routers.md b/docs/tutorial/6-viewsets-and-routers.md
index 870632f1..0a7c3363 100644
--- a/docs/tutorial/6-viewsets-and-routers.md
+++ b/docs/tutorial/6-viewsets-and-routers.md
@@ -21,7 +21,7 @@ First of all let's refactor our `UserList` and `UserDetail` views into a single
queryset = User.objects.all()
serializer_class = UserSerializer
-Here we've used `ReadOnlyModelViewSet` class to automatically provide the default 'read-only' operations. We're still setting the `queryset` and `serializer_class` attributes exactly as we did when we were using regular views, but we no longer need to provide the same information to two separate classes.
+Here we've used the `ReadOnlyModelViewSet` class to automatically provide the default 'read-only' operations. We're still setting the `queryset` and `serializer_class` attributes exactly as we did when we were using regular views, but we no longer need to provide the same information to two separate classes.
Next we're going to replace the `SnippetList`, `SnippetDetail` and `SnippetHighlight` view classes. We can remove the three views, and again replace them with a single class.