Commit 7ef83cf0 by Carlton Gibson

Merge pull request #1206 from sheppard/patch-1

Great. Thanks!
parents 57c41b94 458af921
...@@ -9,7 +9,7 @@ Actions are only bound to methods at the point of instantiating the views. ...@@ -9,7 +9,7 @@ Actions are only bound to methods at the point of instantiating the views.
user_detail = UserViewSet.as_view({'get': 'retrieve'}) user_detail = UserViewSet.as_view({'get': 'retrieve'})
Typically, rather than instantiate views from viewsets directly, you'll 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. automatically.
router = DefaultRouter() router = DefaultRouter()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment