diff options
| author | Tom Christie | 2013-05-10 21:56:33 +0100 | 
|---|---|---|
| committer | Tom Christie | 2013-05-10 21:56:33 +0100 | 
| commit | fd84cf7f10bf703c5daae4a5f6a7dee0c22471dd (patch) | |
| tree | d6c8a16fb218e1afd9d379ff67006d2cb778a5e5 /docs/topics | |
| parent | 2e3032ff8cf1fe172e5ac38dc4320f1191fba340 (diff) | |
| download | django-rest-framework-fd84cf7f10bf703c5daae4a5f6a7dee0c22471dd.tar.bz2 | |
Docs tweaks
Diffstat (limited to 'docs/topics')
| -rw-r--r-- | docs/topics/2.3-announcement.md | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/2.3-announcement.md b/docs/topics/2.3-announcement.md index 6677c800..4df9c819 100644 --- a/docs/topics/2.3-announcement.md +++ b/docs/topics/2.3-announcement.md @@ -30,8 +30,8 @@ As an example of just how simple REST framework APIs can now be, here's an API w      # 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.  | 
