summaryrefslogtreecommitdiff
path: root/TODO.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-04-14 02:49:19 +0000
committerChris McDonough <chrism@agendaless.com>2010-04-14 02:49:19 +0000
commitff1213e8f2aed987108ba57aed517c033491b1aa (patch)
treef531544c3373ae7d5b51746987cb373326277a9c /TODO.txt
parent2b6bc8adfa294f7133680f64df411251afb67dfc (diff)
downloadpyramid-ff1213e8f2aed987108ba57aed517c033491b1aa.tar.gz
pyramid-ff1213e8f2aed987108ba57aed517c033491b1aa.tar.bz2
pyramid-ff1213e8f2aed987108ba57aed517c033491b1aa.zip
Add "exception views" work contributed primarily by Andrey Popp by merging the "phash" branch.
Diffstat (limited to 'TODO.txt')
-rw-r--r--TODO.txt37
1 files changed, 33 insertions, 4 deletions
diff --git a/TODO.txt b/TODO.txt
index 777445fd1..e46de2eea 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -1,12 +1,41 @@
:mod:`repoze.bfg` TODOs
=======================
-- Decide on ``unhook_zca`` argument to ``tearDown``.
-
-- Named notfound views.
-
- Supply ``X-Vhm-Host`` support.
- Review tutorials.
- Basic WSGI documentation (pipeline / app / server).
+
+- Decide on INotFoundView and IForbidden interface, which are obsolete now.
+
+- Document exception view lookup machinery:
+
+ - Lookup proceeds by request interface first and then by interface provided
+ by exception.
+
+ - If lookup fails with more special request interface (read as request
+ interface related to some route) it will fallback to lookup by IRequest.
+
+ - Current order of interfaces used for exception view lookup leads to the
+ following statement: view with more special request interface and more
+ common context interfaces always matched first, event if we have view
+ with IRequest, but more special context interfaces (see integration tests
+ with hybridapp for route9).
+
+- Exception view backwards compat / features:
+
+ - Add an "exception" attr to the request before calling an exception
+ view.
+
+ - Register wrapper views within set_notfound_view and
+ set_forbidden_view (and ZCML if it doesn't call those) so that
+ "context" is either the "real" context or None.
+
+- Use Venusian for decorator scanning (fix Venusian to have scan
+ categories first).
+
+- Allow a translator to be supplied for template rendering.
+
+- Figure out a way to expose some of the functionality of
+ ``Configurator._derive_view`` as an API.