Viewsets docs typo

The docstring in the example said "update" instead of "create".
This commit is contained in:
Charlie Denton 2014-02-03 14:54:44 +00:00
parent b46b80e464
commit 40b148a2e4

View File

@ -225,7 +225,7 @@ To create a base viewset class that provides `create`, `list` and `retrieve` ope
mixins.RetrieveModelMixin,
viewsets.GenericViewSet):
"""
A viewset that provides `retrieve`, `update`, and `list` actions.
A viewset that provides `retrieve`, `create`, and `list` actions.
To use it, override the class and set the `.queryset` and
`.serializer_class` attributes.