summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-06-14 03:37:08 -0400
committerChris McDonough <chrism@plope.com>2011-06-14 03:37:08 -0400
commit92099080859976ce78882de477ddc2c01bc880b2 (patch)
tree6df7bbb5718ac032ac81a357e6e706a63f74422f /docs/tutorials/wiki2
parent1a6fc7062f803b9f15b7677db9a9257a4f00bfcb (diff)
downloadpyramid-92099080859976ce78882de477ddc2c01bc880b2.tar.gz
pyramid-92099080859976ce78882de477ddc2c01bc880b2.tar.bz2
pyramid-92099080859976ce78882de477ddc2c01bc880b2.zip
- New method named ``pyramid.request.Request.is_response``. This method
should be used instead of the ``pyramid.view.is_response`` function, which has been deprecated. - Deprecated ``pyramid.view.is_response`` function in favor of (newly-added) ``pyramid.request.Request.is_response`` method. Determining if an object is truly a valid response object now requires access to the registry, which is only easily available as a request attribute. The ``pyramid.view.is_response`` function will still work until it is removed, but now may return an incorrect answer under some (very uncommon) circumstances.
Diffstat (limited to 'docs/tutorials/wiki2')
0 files changed, 0 insertions, 0 deletions