Merge pull request #1206 from sheppard/patch-1

Great. Thanks!
This commit is contained in:
Carlton Gibson 2013-10-29 13:31:13 -07:00
commit 7ef83cf020

View File

@ -9,7 +9,7 @@ Actions are only bound to methods at the point of instantiating the views.
user_detail = UserViewSet.as_view({'get': 'retrieve'})
Typically, rather than instantiate views from viewsets directly, you'll
regsiter the viewset with a router and let the URL conf be determined
register the viewset with a router and let the URL conf be determined
automatically.
router = DefaultRouter()