Another small typo in the ViewSet quick start.

This commit is contained in:
Xavier Ordoquy 2013-05-17 10:28:59 +02:00
parent 646b3b266d
commit ffa3c5aace

View File

@ -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.