Chris McDonough
2009-01-15 c8cf2256655ee4b34ec501325b9016608b5cce5f
refs
author Chris McDonough <chrism@agendaless.com>
Thursday, January 15, 2009 01:20 +0100
committer Chris McDonough <chrism@agendaless.com>
Thursday, January 15, 2009 01:20 +0100
commitc8cf2256655ee4b34ec501325b9016608b5cce5f
tree 065c104d852d70389ce328813e2e8ea33e9885ce tree | zip | gz
parent ec54985a5c27846a7e9444c22bcf46ae7e868b66 view | diff
- Instead of invariably using ``webob.Request`` as the "request
factory" (e.g. in the ``Router`` class) and ``webob.Response`` and
the "response factory" (e.g. in ``render_template_to_response``),
allow both to be overridden via a ZCML utility hook. See the "Using
ZCML Hooks" chapter of the documentation for more information.



1 files added
17 files modified
438 ■■■■■ changed files
CHANGES.txt 12 ●●●●● diff | view | raw | blame | history
docs/index.rst 1 ●●●● diff | view | raw | blame | history
docs/narr/hooks.rst 48 ●●●●● diff | view | raw | blame | history
repoze/bfg/chameleon_genshi.py 4 ●●● diff | view | raw | blame | history
repoze/bfg/chameleon_text.py 4 ●●● diff | view | raw | blame | history
repoze/bfg/chameleon_zpt.py 4 ●●● diff | view | raw | blame | history
repoze/bfg/interfaces.py 15 ●●●●● diff | view | raw | blame | history
repoze/bfg/router.py 9 ●●●● diff | view | raw | blame | history
repoze/bfg/tests/test_chameleon_genshi.py 59 ●●●●● diff | view | raw | blame | history
repoze/bfg/tests/test_chameleon_text.py 43 ●●●●● diff | view | raw | blame | history
repoze/bfg/tests/test_chameleon_zpt.py 59 ●●●●● diff | view | raw | blame | history
repoze/bfg/tests/test_router.py 98 ●●●●● diff | view | raw | blame | history
repoze/bfg/tests/test_view.py 16 ●●●●● diff | view | raw | blame | history
repoze/bfg/tests/test_wsgi.py 29 ●●●●● diff | view | raw | blame | history
repoze/bfg/tests/test_xslt.py 22 ●●●●● diff | view | raw | blame | history
repoze/bfg/view.py 4 ●●● diff | view | raw | blame | history
repoze/bfg/wsgi.py 7 ●●●● diff | view | raw | blame | history
repoze/bfg/xslt.py 4 ●●● diff | view | raw | blame | history