Skip to content

Commit

Permalink
Merge pull request encode#4226 from waytai/patch-1
Browse files Browse the repository at this point in the history
Update pagination.md
  • Loading branch information
jpadilla authored Jun 28, 2016
2 parents 151a60b + 1037a27 commit 1359061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-guide/pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ You can then apply your new style to a view using the `.pagination_class` attrib

class BillingRecordsView(generics.ListAPIView):
queryset = Billing.objects.all()
serializer = BillingRecordsSerializer
serializer_class = BillingRecordsSerializer
pagination_class = LargeResultsSetPagination

Or apply the style globally, using the `DEFAULT_PAGINATION_CLASS` settings key. For example:
Expand Down

0 comments on commit 1359061

Please sign in to comment.