diff options
| author | Xavier Ordoquy | 2013-05-16 09:47:22 +0200 | 
|---|---|---|
| committer | Xavier Ordoquy | 2013-05-16 09:47:22 +0200 | 
| commit | 66aa2f7a16c4bdb858b1e207acbf4839e7d8e7d1 (patch) | |
| tree | cbede8494a0829242c2f3965f160d2e3aa41b00b /docs/index.md | |
| parent | 092d5223eb7ea1bbf9b6bb967200cb3725e02112 (diff) | |
| download | django-rest-framework-66aa2f7a16c4bdb858b1e207acbf4839e7d8e7d1.tar.bz2 | |
Small typo in the ViewSet example.
Diffstat (limited to 'docs/index.md')
| -rw-r--r-- | docs/index.md | 4 | 
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. | 
