Pylons/pyramid_cookbook — pull request #116 by saschagottfried (2014-08-21 18:57:52+00:00)
Title: Update customrenderers.rst

The renderer implementation now offers overriding content type of response and does not fail if rows and headers are not passed to the renderer. Varying attributes of response like settings a filename is done in view code as considered best practice in pyramid docs. Both code samples are now more focused to the task, the view code in this recipe should not care much about the filename pattern. Fixed wrong code indentation as well. Added important links to pyramid documentation.