summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-06-04 19:19:24 -0400
committerChris McDonough <chrism@plope.com>2012-06-04 19:19:24 -0400
commit566a2a641a03b2d4bec6b19e8d20148dbc2769b4 (patch)
tree4c5cb61ee7361d4245a366a9d2d4fd91eaea1e42
parente5b1331bc66e5bfab338dc064c558e00c7fdf5e6 (diff)
downloadpyramid-566a2a641a03b2d4bec6b19e8d20148dbc2769b4.tar.gz
pyramid-566a2a641a03b2d4bec6b19e8d20148dbc2769b4.tar.bz2
pyramid-566a2a641a03b2d4bec6b19e8d20148dbc2769b4.zip
point back to renderer_system_values in render and render_to_response
-rw-r--r--pyramid/renderers.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/pyramid/renderers.py b/pyramid/renderers.py
index c5d33dc16..e526f9997 100644
--- a/pyramid/renderers.py
+++ b/pyramid/renderers.py
@@ -65,10 +65,11 @@ def render(renderer_name, value, request=None, package=None):
dictionary. For other renderers, this will need to be whatever
sort of value the renderer expects.
- The 'system' values supplied to the renderer will include a basic
- set of top-level system names, such as ``request``, ``context``,
- and ``renderer_name``. If :term:`renderer globals` have been
- specified, these will also be used to agument the value.
+ The 'system' values supplied to the renderer will include a basic set of
+ top-level system names, such as ``request``, ``context``,
+ ``renderer_name``, and ``view``. See :ref:`renderer_system_values` for
+ the full list. If :term:`renderer globals` have been specified, these
+ will also be used to agument the value.
Supply a ``request`` parameter in order to provide the renderer
with the most correct 'system' values (``request`` and ``context``
@@ -108,10 +109,11 @@ def render_to_response(renderer_name, value, request=None, package=None):
dictionary. For other renderers, this will need to be whatever
sort of value the renderer expects.
- The 'system' values supplied to the renderer will include a basic
- set of top-level system names, such as ``request``, ``context``,
- and ``renderer_name``. If :term:`renderer globals` have been
- specified, these will also be used to agument the value.
+ The 'system' values supplied to the renderer will include a basic set of
+ top-level system names, such as ``request``, ``context``,
+ ``renderer_name``, and ``view``. See :ref:`renderer_system_values` for
+ the full list. If :term:`renderer globals` have been specified, these
+ will also be used to agument the value.
Supply a ``request`` parameter in order to provide the renderer
with the most correct 'system' values (``request`` and ``context``