Fix minor code error in Generic Views documentation - missing if statement.

This commit is contained in:
Hamish Campbell 2013-05-10 13:28:50 +12:00
parent 0176a5391b
commit 5c8356d51d

View File

@ -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