diff options
| author | Philip Douglas | 2013-09-13 10:47:06 +0100 |
|---|---|---|
| committer | Philip Douglas | 2013-09-13 10:47:06 +0100 |
| commit | e5da0ff5e530c8ea0e2cf4dff0723ede6234860e (patch) | |
| tree | 776ec2dd47b6c8a4aa976d33c740d4b0267c9522 /docs/api-guide/generic-views.md | |
| parent | 272a6abf91c51b44781d27af5352c7e36c8fa91c (diff) | |
| parent | ea462b7b9b28f425c8c91d10e34532ddbb3c87fa (diff) | |
| download | django-rest-framework-e5da0ff5e530c8ea0e2cf4dff0723ede6234860e.tar.bz2 | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'docs/api-guide/generic-views.md')
| -rwxr-xr-x | docs/api-guide/generic-views.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/generic-views.md b/docs/api-guide/generic-views.md index 7185b6b6..dc0076df 100755 --- a/docs/api-guide/generic-views.md +++ b/docs/api-guide/generic-views.md @@ -69,7 +69,7 @@ The following attributes control the basic view behavior. **Shortcuts**: -* `model` - This shortcut may be used instead of setting either (or both) of the `queryset`/`serializer_class` attributes, although using the explicit style is generally preferred. If used instead of `serializer_class`, then then `DEFAULT_MODEL_SERIALIZER_CLASS` setting will determine the base serializer class. +* `model` - This shortcut may be used instead of setting either (or both) of the `queryset`/`serializer_class` attributes, although using the explicit style is generally preferred. If used instead of `serializer_class`, then then `DEFAULT_MODEL_SERIALIZER_CLASS` setting will determine the base serializer class. Note that `model` is only ever used for generating a default queryset or serializer class - the `queryset` and `serializer_class` attributes are always preferred if provided. **Pagination**: |
