diff options
| author | Tom Christie | 2013-04-25 17:39:33 +0100 | 
|---|---|---|
| committer | Tom Christie | 2013-04-25 17:39:33 +0100 | 
| commit | 9abaf77401573e932ba4770248c1e229a8bc25dd (patch) | |
| tree | 7046218b69f835c8485c7ca1a816d53b7e2499f9 /docs/topics/2.3-announcement.md | |
| parent | b14b58498943c0a8f88c8ff931048bca4c90554b (diff) | |
| download | django-rest-framework-9abaf77401573e932ba4770248c1e229a8bc25dd.tar.bz2 | |
More viewset/router docs
Diffstat (limited to 'docs/topics/2.3-announcement.md')
| -rw-r--r-- | docs/topics/2.3-announcement.md | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/topics/2.3-announcement.md b/docs/topics/2.3-announcement.md index e8e8c091..66875c82 100644 --- a/docs/topics/2.3-announcement.md +++ b/docs/topics/2.3-announcement.md @@ -86,6 +86,10 @@ The `get_object` and `get_paginate_by` methods no longer take an optional querys  Using an optional queryset with these methods continues to be supported, but will raise a `PendingDeprecationWarning`. +The `paginate_queryset` method no longer takes a `page_size` argument, or returns a four-tuple of pagination information.  Instead it simply takes a queryset argument, and either returns a `page` object with an appropraite page size, or returns `None`, if pagination is not configured for the view. + +Using the `page_size` argument is still supported and will trigger the old-style return type, but will raise a `PendingDeprecationWarning`. +  ### Deprecated attributes  The following attributes are used to control queryset lookup, and have all been moved into a pending deprecation state. @@ -137,7 +141,7 @@ It also makes it the usage of overridden `get_queryset()` or `get_serializer_cla              """              Determine the queryset dynamically, depending on the              user making the request. -             +              Note that overriding this method follows on more obviously now              that an explicit `queryset` attribute is the usual view style.              """  | 
