aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/generic-views.md
diff options
context:
space:
mode:
authorXavier Ordoquy2014-04-30 22:24:01 +0200
committerXavier Ordoquy2014-04-30 22:24:01 +0200
commit2aca69a94601858a462060bc55154c812f70fb91 (patch)
tree86f4d926344bea677ff8dd56505332fc16fdecc8 /docs/api-guide/generic-views.md
parentc5f68fba0638a15fa3c802f1bafc664e890611dc (diff)
parentd8fb81ceb15afe09a50584afcc466de812d30046 (diff)
downloaddjango-rest-framework-2aca69a94601858a462060bc55154c812f70fb91.tar.bz2
Merge remote-tracking branch 'reference/master' into feature/pytest
Conflicts: tests/test_serializer.py
Diffstat (limited to 'docs/api-guide/generic-views.md')
-rwxr-xr-xdocs/api-guide/generic-views.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/generic-views.md b/docs/api-guide/generic-views.md
index fb927ea8..7d06f246 100755
--- a/docs/api-guide/generic-views.md
+++ b/docs/api-guide/generic-views.md
@@ -70,7 +70,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. 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.
+* `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 `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**: