From 39fccbbfbceacaf1b3d5fb6f03a07fbe4d861969 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Wed, 6 Aug 2008 03:30:40 +0000 Subject: - Small url dispatch overhaul: the ``connect`` method of the ``urldispatch.RoutesMapper`` object now accepts a keyword parameter named ``context_factory``. If this parameter is supplied, it must be a callable which returns an instance. This instance is used as the context for the request when a route is matched. - The registration of a RoutesModelTraverser no longer needs to be performed by the application; it's in the bfg ZCML now. --- repoze/bfg/configure.zcml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'repoze/bfg/configure.zcml') diff --git a/repoze/bfg/configure.zcml b/repoze/bfg/configure.zcml index e57558cd2..78dce0b83 100644 --- a/repoze/bfg/configure.zcml +++ b/repoze/bfg/configure.zcml @@ -9,6 +9,12 @@ for="* .interfaces.IRequest" /> + + -- cgit v1.2.3