mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-30 18:09:59 +03:00
Merge 5c8356d51d
into 0176a5391b
This commit is contained in:
commit
fc74d6cb54
|
@ -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