aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/6-viewsets-and-routers.md
diff options
context:
space:
mode:
authorTom Christie2013-05-10 21:56:33 +0100
committerTom Christie2013-05-10 21:56:33 +0100
commitfd84cf7f10bf703c5daae4a5f6a7dee0c22471dd (patch)
treed6c8a16fb218e1afd9d379ff67006d2cb778a5e5 /docs/tutorial/6-viewsets-and-routers.md
parent2e3032ff8cf1fe172e5ac38dc4320f1191fba340 (diff)
downloaddjango-rest-framework-fd84cf7f10bf703c5daae4a5f6a7dee0c22471dd.tar.bz2
Docs tweaks
Diffstat (limited to 'docs/tutorial/6-viewsets-and-routers.md')
-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 4b01d3e0..277804e2 100644
--- a/docs/tutorial/6-viewsets-and-routers.md
+++ b/docs/tutorial/6-viewsets-and-routers.md
@@ -119,7 +119,7 @@ Registering the viewsets with the router is similar to providing a urlpattern.
The `DefaultRouter` class we're using also automatically creates the API root view for us, so we can now delete the `api_root` method from our `views` module.
-## Trade-offs between views vs viewsets.
+## Trade-offs between views vs viewsets
Using viewsets can be a really useful abstraction. It helps ensure that URL conventions will be consistent across your API, minimizes the amount of code you need to write, and allows you to concentrate on the interactions and representations your API provides rather than the specifics of the URL conf.