summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/TODO.txt b/TODO.txt
index 3a18f32db..42bf3d45b 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -27,6 +27,25 @@
- Debug option to print view matching decision.
+- Script or paster command that prints, for a given URL, the views
+ that might match. Underneath each potentially matching route, list
+ the predicates required. Underneath each route+predicate set, print
+ each view that might match and its predicates. E.g. with the input
+ URL ``/foo``::
+
+ '/foo' (foo_xhr)
+ xhr = True
+ (no view predicates)
+ mypackage.views.MyXHRFooView.__call__
+
+ '/{action}' (action_route)
+ request_method = 'POST'
+ action = '^foo$'
+ mypackage.views.MyView.foo_POST
+ request_method = 'GET'
+ action = '^foo$'
+ mypackage.views.MyView.foo_GET
+
- Ability to use configurator as a context manager.
- Switch tutorials and templates to non-ZCML.