Commit 7123f0b1 by Tom Christie

Merge pull request #889 from sebastibe/viewset-doc-typo

Fix doc typo in UserViewSet example
parents 2a38aa72 b0201bcf
...@@ -65,7 +65,7 @@ Both of these come with a trade-off. Using regular views and URL confs is more ...@@ -65,7 +65,7 @@ Both of these come with a trade-off. Using regular views and URL confs is more
The default routers included with REST framework will provide routes for a standard set of create/retrieve/update/destroy style operations, as shown below: The default routers included with REST framework will provide routes for a standard set of create/retrieve/update/destroy style operations, as shown below:
class UserViewSet(viewsets.VietSet): class UserViewSet(viewsets.ViewSet):
""" """
Example empty viewset demonstrating the standard Example empty viewset demonstrating the standard
actions that will be handled by a router class. actions that will be handled by a router class.
......
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