From ffa3c5aacec445fe64437757fb2e10bf8f2c8053 Mon Sep 17 00:00:00 2001 From: Xavier Ordoquy Date: Fri, 17 May 2013 10:28:59 +0200 Subject: [PATCH] Another small typo in the ViewSet quick start. --- docs/tutorial/quickstart.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 52fe3acf4..2dd8abb0b 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -62,8 +62,8 @@ Okay, now let's wire up the API URLs. On to `quickstart/urls.py`... from quickstart import views 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. # Additionally, we include login URLs for the browseable API.