summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.txt3
-rw-r--r--pyramid/renderers.py4
2 files changed, 6 insertions, 1 deletions
diff --git a/TODO.txt b/TODO.txt
index fda59d7b4..37c79035b 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -4,6 +4,9 @@ Pyramid TODOs
Should-Have
-----------
+- Deprecate pyramid.security.view_execution_permitted (it only works for
+ traversal).
+
- Merge https://github.com/Pylons/pyramid/pull/242 (IPython update; requires
test fixes and additional test coverage).
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: