diff options
Diffstat (limited to 'docs/api/renderers.rst')
| -rw-r--r-- | docs/api/renderers.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/api/renderers.rst b/docs/api/renderers.rst index 459639a46..0caca02b4 100644 --- a/docs/api/renderers.rst +++ b/docs/api/renderers.rst @@ -11,3 +11,20 @@ .. autofunction:: render_to_response +.. autoclass:: JSON + + .. automethod:: add_adapter + +.. autoclass:: JSONP + + .. automethod:: add_adapter + +.. attribute:: null_renderer + + An object that can be used in advanced integration cases as input to the + view configuration ``renderer=`` argument. When the null renderer is used + as a view renderer argument, Pyramid avoids converting the view callable + result into a Response object. This is useful if you want to reuse the + view configuration and lookup machinery outside the context of its use by + the Pyramid router. + |
