diff options
| author | Chris McDonough <chrism@plope.com> | 2013-02-09 16:16:43 -0800 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-02-09 16:16:43 -0800 |
| commit | b072d047c21ccc9b385eb52d958ce11de17dbd6c (patch) | |
| tree | ca5d307791c0403e281118059a6b2f8cc55cabd2 /docs | |
| parent | 0ffbfb41ce26984ccff2d5fadf22887f9fc04d88 (diff) | |
| parent | e9526fe353c9381f899554c1713694e8dfb95f18 (diff) | |
| download | pyramid-b072d047c21ccc9b385eb52d958ce11de17dbd6c.tar.gz pyramid-b072d047c21ccc9b385eb52d958ce11de17dbd6c.tar.bz2 pyramid-b072d047c21ccc9b385eb52d958ce11de17dbd6c.zip | |
Merge pull request #854 from tshepang/diff
some doc improvements
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/api/request.rst | 2 | ||||
| -rw-r--r-- | docs/narr/renderers.rst | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/docs/api/request.rst b/docs/api/request.rst index 9f1f71b31..7b843f86e 100644 --- a/docs/api/request.rst +++ b/docs/api/request.rst @@ -245,7 +245,7 @@ influence response values from a view that uses a renderer (such as the status code, a header, the content type, etc) you would set these attributes. See :ref:`response_prefixed_attrs` for further discussion. - As of Pyramid 1.1, assignment to ``response_*`` attrs are deprecated. + As of Pyramid 1.1, assignment to ``response_*`` attrs is deprecated. Assigning to one is still supported but will cause a deprecation warning to be emitted, and eventually the feature will be removed. For new code, instead of assigning ``response_*`` attributes to the diff --git a/docs/narr/renderers.rst b/docs/narr/renderers.rst index 863932e83..34b9ad00c 100644 --- a/docs/narr/renderers.rst +++ b/docs/narr/renderers.rst @@ -565,9 +565,6 @@ in :ref:`request_module`. For more information on the API of Deprecated Mechanism to Vary Attributes of Rendered Responses ------------------------------------------------------------- -.. deprecated:: 1.1 - The behavior described in this entire section. - In previous releases of Pyramid (1.0 and before), the ``request.response`` attribute did not exist. Instead, Pyramid required users to set special ``response_`` -prefixed attributes of the request to influence response |
