diff options
| author | Tom Christie | 2013-01-26 20:52:58 +0000 | 
|---|---|---|
| committer | Tom Christie | 2013-01-26 20:52:58 +0000 | 
| commit | a2dcf5e878fa6354c9de0e07e5fba1fd3e1be45a (patch) | |
| tree | 26e64de713afd3efdc85cfe016973eb5b1a59f2c /docs/api-guide | |
| parent | fa349f4b552d8ac5a29ab895bfb8ad1e2432a6ff (diff) | |
| download | django-rest-framework-a2dcf5e878fa6354c9de0e07e5fba1fd3e1be45a.tar.bz2 | |
Fix pagination docs
Diffstat (limited to 'docs/api-guide')
| -rw-r--r-- | docs/api-guide/pagination.md | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/api-guide/pagination.md b/docs/api-guide/pagination.md index 71253afb..51c0fb4b 100644 --- a/docs/api-guide/pagination.md +++ b/docs/api-guide/pagination.md @@ -114,8 +114,8 @@ You can also override the name used for the object list field, by setting the `r  For example, to nest a pair of links labelled 'prev' and 'next', and set the name for the results field to 'objects', you might use something like this.      class LinksSerializer(serializers.Serializer): -        next = pagination.NextURLField(source='*') -        prev = pagination.PreviousURLField(source='*') +        next = pagination.NextPageField(source='*') +        prev = pagination.PreviousPageField(source='*')      class CustomPaginationSerializer(pagination.BasePaginationSerializer):          links = LinksSerializer(source='*')  # Takes the page object as the source | 
