From 333bd06861e55f97dfcaeebff100657734829add Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 24 Jan 2010 08:45:35 +0000 Subject: Merge reversepolarity branch. --- docs/narr/urldispatch.rst | 6 ++++++ docs/zcml/route.rst | 8 ++++++++ 2 files changed, 14 insertions(+) (limited to 'docs') diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index 05c04e03f..495b05a14 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -585,6 +585,12 @@ information. If the ``view`` argument is not provided, this argument has no effect. +``use_global_views`` + When a request matches this route, and view lookup cannot find a view + which has a 'route_name' predicate argument that matches the route, + try to fall back to using a view that otherwise matches the context, + request, and view name (but does not match the route name predicate). + Route Matching -------------- diff --git a/docs/zcml/route.rst b/docs/zcml/route.rst index bb842819d..169252d77 100644 --- a/docs/zcml/route.rst +++ b/docs/zcml/route.rst @@ -203,6 +203,14 @@ Attributes .. note:: This feature is new as of :mod:`repoze.bfg` 1.1. +``use_global_views`` + When a request matches this route, and view lookup cannot find a view + which has a 'route_name' predicate argument that matches the route, + try to fall back to using a view that otherwise matches the context, + request, and view name (but does not match the route name predicate). + + .. note:: This feature is new as of :mod:`repoze.bfg` 1.2. + Alternatives ~~~~~~~~~~~~ -- cgit v1.2.3