Chris McDonough
2008-08-04 e17c8d815136218d7dd07e21cf78f4104d773d48
refs
author Chris McDonough <chrism@agendaless.com>
Monday, August 4, 2008 09:38 +0200
committer Chris McDonough <chrism@agendaless.com>
Monday, August 4, 2008 09:38 +0200
commite17c8d815136218d7dd07e21cf78f4104d773d48
tree 5ad65808c9f0e7828e4ec1b2c948726cffe953a6 tree | zip | gz
parent 39b8b920c8018dc4d124cba72794da1dcc925cce view | diff
  - Add a ``request_type`` attribute to the available attributes of a
``bfg:view`` configure.zcml element. This attribute will have a
value which is a dotted Python path, pointing at an interface. If
the request object implements this interface when the view lookup
is performed, the appropriate view will be called.

- Remove "template only" views. These were just confusing and were
never documented.


2 files added
8 files modified
585 ■■■■■ changed files
CHANGES.txt 11 ●●●●● diff | view | raw | blame | history
docs/api/events.rst 39 ●●●●● diff | view | raw | blame | history
docs/index.rst 1 ●●●● diff | view | raw | blame | history
docs/narr/events.rst 119 ●●●●● diff | view | raw | blame | history
docs/narr/views.rst 172 ●●●● diff | view | raw | blame | history
docs/notes.txt 16 ●●●●● diff | view | raw | blame | history
repoze/bfg/tests/fixtureapp/configure.zcml 7 ●●●●● diff | view | raw | blame | history
repoze/bfg/tests/fixtureapp/views.py 5 ●●●●● diff | view | raw | blame | history
repoze/bfg/tests/test_zcml.py 154 ●●●● diff | view | raw | blame | history
repoze/bfg/zcml.py 61 ●●●● diff | view | raw | blame | history