mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-23 23:12:59 +03:00
Merge pull request #818 from hamishcampbell/master
Very minor documentation code fix.
This commit is contained in:
commit
6aed4381c0
|
@ -34,7 +34,7 @@ For more complex cases you might also want to override various methods on the vi
|
|||
"""
|
||||
Use smaller pagination for HTML representations.
|
||||
"""
|
||||
self.request.accepted_renderer.format == 'html':
|
||||
if self.request.accepted_renderer.format == 'html':
|
||||
return 20
|
||||
return 100
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user