aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2013-05-16 15:25:04 +0100
committerTom Christie2013-05-16 15:25:04 +0100
commit0e81ffced2a713d07483f9d18b3fc9d4c011a065 (patch)
tree4ad245325d2a0e00fe4b11bbf218e4b3954de391
parentaff88d15f7a483bca2da120339b1b346aa8b1d4c (diff)
parent1a4e99e892b026d17fb6e70ae555e6f63ee67ec9 (diff)
downloaddjango-rest-framework-0e81ffced2a713d07483f9d18b3fc9d4c011a065.tar.bz2
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework2.3.3
-rw-r--r--docs/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/index.md b/docs/index.md
index cc960a98..7c38efd3 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)
- router.register(r'groups', views.GroupViewSet)
+ router.register(r'users', UserViewSet)
+ router.register(r'groups', GroupViewSet)
# Wire up our API using automatic URL routing.