summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2015-06-05 17:16:11 -0400
committerChris McDonough <chrism@plope.com>2015-06-05 17:16:11 -0400
commit713bc5f2785636327f4cee40d958bcff83afa9c5 (patch)
tree09754e3a7cbaf6c1bf85a4b54ee2ed1acaca798b /docs
parentf3c67a4217504bc7f2862ec1616342240738efae (diff)
downloadpyramid-713bc5f2785636327f4cee40d958bcff83afa9c5.tar.gz
pyramid-713bc5f2785636327f4cee40d958bcff83afa9c5.tar.bz2
pyramid-713bc5f2785636327f4cee40d958bcff83afa9c5.zip
We explicitly pass in the interfaces provided by the request as
request_iface to _call_view; we don't want _call_view to use request.request_iface, because render_view_to_response and friends are pretty much limited to finding views that are not views associated with routes, and the only thing request.request_iface is used for is to find route-based views. The render_view_to_response API is (and always has been) a stepchild API reserved for use of those who actually use traversal. Doing this fixes an infinite recursion bug introduced in Pyramid 1.6a1, and causes the render_view* APIs to behave as they did in 1.5 and previous. We should probably provide some sort of different API that would allow people to find views for routes. Fixes #1643.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions