diff options
| author | Tom Christie | 2013-12-04 08:51:34 +0000 | 
|---|---|---|
| committer | Tom Christie | 2013-12-04 08:51:34 +0000 | 
| commit | 3c3906e278d5e707ab1fd72bdbcb79649777df33 (patch) | |
| tree | b8fecbdfe643c6980113b1f80628a9c98bd38433 /docs/api-guide/viewsets.md | |
| parent | 9f1918e41e1b8dcfa621b00788bab865f2fc31aa (diff) | |
| download | django-rest-framework-3c3906e278d5e707ab1fd72bdbcb79649777df33.tar.bz2 | |
Clarify wording, fixes #1133.
Diffstat (limited to 'docs/api-guide/viewsets.md')
| -rw-r--r-- | docs/api-guide/viewsets.md | 2 | 
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):          """ | 
