blob: 15670c46e27c0bffe4d2d7ce891597bee9720fdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
.. _renderers_module:
:mod:`pyramid.renderers`
---------------------------
.. module:: pyramid.renderers
.. autofunction:: get_renderer
.. autofunction:: render
.. autofunction:: render_to_response
.. autoclass:: JSONP
.. 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 (e.g. the package named ``pyramid_rpc`` does this).
|