aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide
diff options
context:
space:
mode:
authorTom Christie2013-12-04 00:52:07 -0800
committerTom Christie2013-12-04 00:52:07 -0800
commit04a43ddca565d96848c25a1d1879c9e7a53a7b6c (patch)
treec90f45ea74f3d3661a92ff980ac2a7563bb5e0ff /docs/api-guide
parent25ac4cd20ec3525067dd258af7c45d3268bf8482 (diff)
parent3c3906e278d5e707ab1fd72bdbcb79649777df33 (diff)
downloaddjango-rest-framework-04a43ddca565d96848c25a1d1879c9e7a53a7b6c.tar.bz2
Merge pull request #1267 from tomchristie/fix-1133
Clarify wording, fixes #1133.
Diffstat (limited to 'docs/api-guide')
-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 1062cb32..4fdd9364 100644
--- a/docs/api-guide/viewsets.md
+++ b/docs/api-guide/viewsets.md
@@ -170,7 +170,7 @@ The actions provided by the `ModelViewSet` class are `.list()`, `.retrieve()`,
#### Example
-Because `ModelViewSet` extends `GenericAPIView`, you'll normally need to provide at least the `queryset` and `serializer_class` attributes. For example:
+Because `ModelViewSet` extends `GenericAPIView`, you'll normally need to provide at least the `queryset` and `serializer_class` attributes, or the `model` attribute shortcut. For example:
class AccountViewSet(viewsets.ModelViewSet):
"""