Commit 5c8356d5 by Hamish Campbell

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

parent 0176a539
...@@ -34,7 +34,7 @@ For more complex cases you might also want to override various methods on the vi ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment