diff options
| author | EyePulp | 2013-05-07 11:01:54 -0500 | 
|---|---|---|
| committer | EyePulp | 2013-05-07 11:01:54 -0500 | 
| commit | ea9129810185902b9cf857baa33f02c277fe3192 (patch) | |
| tree | 80d57967576cf8524cdf1cd42e407ba189e00b0e /README.md | |
| parent | d7c08222f14389b4d61e5ca9032c49b8b917d251 (diff) | |
| download | django-rest-framework-ea9129810185902b9cf857baa33f02c277fe3192.tar.bz2 | |
Updated the README.md example to fix a class reference
Two classnames in the example had "views." prepended to them, which appeared unnecessary.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -62,8 +62,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. | 
