summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-08-06 20:30:10 -0400
committerChris McDonough <chrism@plope.com>2011-08-06 20:30:10 -0400
commit37699448a389c2712f262c574e5115aaab27adda (patch)
tree4f76b8503f54e1c9becbd6e169209562ed67d10f
parentfc406adb99573cc99ef388693c909d5d2de16e19 (diff)
parent5083c3bb7445055944bd3a607d5f2f8b61e1c663 (diff)
downloadpyramid-37699448a389c2712f262c574e5115aaab27adda.tar.gz
pyramid-37699448a389c2712f262c574e5115aaab27adda.tar.bz2
pyramid-37699448a389c2712f262c574e5115aaab27adda.zip
Merge branch 'master' of github.com:Pylons/pyramid
-rw-r--r--pyramid/renderers.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyramid/renderers.py b/pyramid/renderers.py
index c718cf1bb..a06067c97 100644
--- a/pyramid/renderers.py
+++ b/pyramid/renderers.py
@@ -98,7 +98,9 @@ def render_to_response(renderer_name, value, request=None, package=None):
Supply a ``request`` parameter in order to provide the renderer
with the most correct 'system' values (``request`` and ``context``
- in particular).
+ in particular). Keep in mind that if the ``request`` parameter is
+ not passed in, any changes to ``request.response`` attributes made
+ before calling this function will be ignored.
"""
try: