aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/viewsets.md
diff options
context:
space:
mode:
authorCharlie Denton2014-02-03 14:54:44 +0000
committerCharlie Denton2014-02-03 14:54:44 +0000
commit40b148a2e427ffbedbc04c47235f07bf98d7e520 (patch)
treec4986c826eccb39bc946b186bfd119780f2b5f5d /docs/api-guide/viewsets.md
parentb46b80e46415950f2d99df123a5809ed8ee2271d (diff)
downloaddjango-rest-framework-40b148a2e427ffbedbc04c47235f07bf98d7e520.tar.bz2
Viewsets docs typo
The docstring in the example said "update" instead of "create".
Diffstat (limited to 'docs/api-guide/viewsets.md')
-rw-r--r--docs/api-guide/viewsets.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/viewsets.md b/docs/api-guide/viewsets.md
index 4fdd9364..23b16575 100644
--- a/docs/api-guide/viewsets.md
+++ b/docs/api-guide/viewsets.md
@@ -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.