diff options
| -rw-r--r-- | TODO.txt | 3 | ||||
| -rw-r--r-- | pyramid/renderers.py | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -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: |
