Commit 458af921 by S. Andrew Sheppard

minor typo

parent 57c41b94
...@@ -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