aboutsummaryrefslogtreecommitdiffstats
path: root/docs/index.md
diff options
context:
space:
mode:
authorTom Christie2013-05-02 12:08:05 +0100
committerTom Christie2013-05-02 12:08:05 +0100
commit74beaefd1205503c06fdff8bb2621ba4c8c5baaa (patch)
treee8055a54dcf97b69b48e0f4c13ed15eeca34701b /docs/index.md
parent387250bee438a3826191b2d0d196d0c11373f7f3 (diff)
downloaddjango-rest-framework-74beaefd1205503c06fdff8bb2621ba4c8c5baaa.tar.bz2
Simplifying bits of docs
Diffstat (limited to 'docs/index.md')
-rw-r--r--docs/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/index.md b/docs/index.md
index 7436794b..b7acb979 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -113,8 +113,8 @@ Here's our project's root `urls.py` module:
# Routers provide an easy way of automatically determining the URL conf
router = routers.DefaultRouter()
- router.register(r'users', views.UserViewSet, name='user')
- router.register(r'groups', views.GroupViewSet, name='group')
+ router.register(r'users', views.UserViewSet)
+ router.register(r'groups', views.GroupViewSet)
# Wire up our API using automatic URL routing.