summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-08-01 16:07:45 +0000
committerChris McDonough <chrism@agendaless.com>2010-08-01 16:07:45 +0000
commit34547458e3ce880abfbf4248357d6b191b4d63ee (patch)
tree643c30b2175ea77b6efba9eda53ab1818eaf04bb
parent1fc98b0c1d6d80e2cc7aa0b97b5916f5fe1f24b5 (diff)
downloadpyramid-34547458e3ce880abfbf4248357d6b191b4d63ee.tar.gz
pyramid-34547458e3ce880abfbf4248357d6b191b4d63ee.tar.bz2
pyramid-34547458e3ce880abfbf4248357d6b191b4d63ee.zip
todo gardening
-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.