aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/routers.md
diff options
context:
space:
mode:
authorVeronica Lynn2013-08-07 14:00:06 -0400
committerVeronica Lynn2013-08-07 14:00:06 -0400
commit4d8d2340be4de905af3488dc721c7b94b1371ef0 (patch)
tree38b60bc6099d0af27a4a7fcc5dbaf91ca3d76b26 /docs/api-guide/routers.md
parentb52beb0734e167349b2cf397047a2ec7fe304b35 (diff)
downloaddjango-rest-framework-4d8d2340be4de905af3488dc721c7b94b1371ef0.tar.bz2
Fixed typos in a bunch of docs
Diffstat (limited to 'docs/api-guide/routers.md')
-rw-r--r--docs/api-guide/routers.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/routers.md b/docs/api-guide/routers.md
index 7f53f109..072a2e79 100644
--- a/docs/api-guide/routers.md
+++ b/docs/api-guide/routers.md
@@ -96,7 +96,7 @@ As with `SimpleRouter` the trailing slashes on the URL routes can be removed by
# Custom Routers
-Implementing a custom router isn't something you'd need to do very often, but it can be useful if you have specific requirements about how the your URLs for your API are strutured. Doing so allows you to encapsulate the URL structure in a reusable way that ensures you don't have to write your URL patterns explicitly for each new view.
+Implementing a custom router isn't something you'd need to do very often, but it can be useful if you have specific requirements about how the your URLs for your API are structured. Doing so allows you to encapsulate the URL structure in a reusable way that ensures you don't have to write your URL patterns explicitly for each new view.
The simplest way to implement a custom router is to subclass one of the existing router classes. The `.routes` attribute is used to template the URL patterns that will be mapped to each viewset. The `.routes` attribute is a list of `Route` named tuples.