From 01132b859acb3850eb6d9de6a1d8c2d005165fe3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 26 Jan 2009 17:40:46 +0000 Subject: Rendering. --- docs/narr/urldispatch.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index 7443610b8..9d843799b 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -248,15 +248,15 @@ assuming that ``.models.Idea`` resolves to a class that accepts arbitrary key/value pair arguments. .. note:: Values prefixed with a period (``.``) for the ``factory`` - and ``provides`` attributes of a ``route`` (such as ``.models.Idea` - above) mean "relative to the Python package directory in which this - :term:`ZCML` file is stored". So if the above ``route`` - declaration was made inside a ``configure.zcml`` file that lived in - the ``hello`` package, you could replace the relative - ``.models.Idea`` with the absolute ``hello.models.Idea`` Either the - relative or absolute form is functionally equivalent. It's often - useful to use the relative form, in case your package's name - changes. It's also shorter to type. + and ``provides`` attributes of a ``route`` (such as + ``.models.Idea`` above) mean "relative to the Python package + directory in which this :term:`ZCML` file is stored". So if the + above ``route`` declaration was made inside a ``configure.zcml`` + file that lived in the ``hello`` package, you could replace the + relative ``.models.Idea`` with the absolute ``hello.models.Idea`` + Either the relative or absolute form is functionally equivalent. + It's often useful to use the relative form, in case your package's + name changes. It's also shorter to type. All context objects manufactured via URL dispatch will be decorated by default with the ``repoze.bfg.interfaces.IRoutesContext`` -- cgit v1.2.3