diff options
| author | Kevin Brown | 2015-02-11 19:39:51 -0500 | 
|---|---|---|
| committer | Kevin Brown | 2015-02-11 19:39:51 -0500 | 
| commit | 84260b5dd66cc31858898ff11d5300a73083cca1 (patch) | |
| tree | eec3f5b55a8085f1029aa59c91b7e913ad38a1d0 /docs | |
| parent | 637af1fc142af8e16d475c81004b73dbbe0b443b (diff) | |
| parent | 9d80335ac86076f75c81de02abc0cda8f98916d7 (diff) | |
| download | django-rest-framework-84260b5dd66cc31858898ff11d5300a73083cca1.tar.bz2 | |
Merge pull request #2550 from maryokhin/patch-1
Remove '.model' shortcut from viewset docs
Diffstat (limited to 'docs')
| -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 bbf92c6c..4fd7aa84 100644 --- a/docs/api-guide/viewsets.md +++ b/docs/api-guide/viewsets.md @@ -178,7 +178,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, or the `model` attribute shortcut.  For example: +Because `ModelViewSet` extends `GenericAPIView`, you'll normally need to provide at least the `queryset` and `serializer_class` attributes.  For example:      class AccountViewSet(viewsets.ModelViewSet):          """ | 
