aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2013-05-07 17:26:17 +0100
committerTom Christie2013-05-07 17:26:17 +0100
commit246a376dcf6b62aa6ce42ef8dc69313a58fb7e72 (patch)
tree8c4152eb67c399b1370012c69ac26e01df3ae1f5
parenta758066c0388d704914b507613fcc20de8e9900f (diff)
parent71df55148c8369ebd77c073b36f87049dc521c62 (diff)
downloaddjango-rest-framework-246a376dcf6b62aa6ce42ef8dc69313a58fb7e72.tar.bz2
Merge branch 'master' of https://github.com/tomchristie/django-rest-framework
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index f665481a..5d1631d4 100644
--- a/README.md
+++ b/README.md
@@ -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.