mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-04-28 21:13:43 +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.
|
Use smaller pagination for HTML representations.
|
||||||
"""
|
"""
|
||||||
self.request.accepted_renderer.format == 'html':
|
if self.request.accepted_renderer.format == 'html':
|
||||||
return 20
|
return 20
|
||||||
return 100
|
return 100
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user