From 9a98308d994545aa620960f7c61cb5b80bee3331 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 25 Jan 2009 19:14:34 +0000 Subject: Root factory nomenclature. --- docs/narr/project.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/narr/project.rst') diff --git a/docs/narr/project.rst b/docs/narr/project.rst index 7f056d645..e0244360f 100644 --- a/docs/narr/project.rst +++ b/docs/narr/project.rst @@ -591,9 +591,10 @@ behavior. #. Line 4 defines an instance of MyModel as the root. -#. Line 6 is a function that will be called by the :mod:`repoze.bfg` - *Router* for each request when it wants to find the root of the model - graph. Conventionally this is called ``get_root``. +#. Line 6 is a "root factory" function that will be called by the + :mod:`repoze.bfg` *Router* for each request when it wants to find + the root of the model graph. Conventionally this is called + ``get_root``. In a "real" application, the root object would not be such a simple object. Instead, it would be an object that could access some -- cgit v1.2.3