diff options
| author | Tom Christie | 2012-11-16 13:45:27 -0800 |
|---|---|---|
| committer | Tom Christie | 2012-11-16 13:45:27 -0800 |
| commit | 9973cf329a2133a900256b53236348ef3c870842 (patch) | |
| tree | 51dc6ace4f81f6137a2c8249b2ba8f88e8531480 /docs/api-guide/generic-views.md | |
| parent | 8d3581f4bd9b0abbf88a7713a1cb8b67f820602a (diff) | |
| parent | a701a21587a69ed959533cbcfdaa9c63337c3ccc (diff) | |
| download | django-rest-framework-9973cf329a2133a900256b53236348ef3c870842.tar.bz2 | |
Merge pull request #412 from minddust/custom_page_size_per_request
support for custom page size per request
Diffstat (limited to 'docs/api-guide/generic-views.md')
| -rw-r--r-- | docs/api-guide/generic-views.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/api-guide/generic-views.md b/docs/api-guide/generic-views.md index 360ef1a2..3346c70a 100644 --- a/docs/api-guide/generic-views.md +++ b/docs/api-guide/generic-views.md @@ -147,6 +147,10 @@ Provides a `.list(request, *args, **kwargs)` method, that implements listing a q Should be mixed in with [MultipleObjectAPIView]. +**Arguments**: + +* `page_size_kwarg` - Allows you to overwrite the global settings `PAGE_SIZE_KWARG` for a specific view. You can also turn it off for a specific view by setting it to `None`. Default is `page_size`. + ## CreateModelMixin Provides a `.create(request, *args, **kwargs)` method, that implements creating and saving a new model instance. |
