summaryrefslogtreecommitdiff
path: root/docs/narr/project.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-01-25 19:14:34 +0000
committerChris McDonough <chrism@agendaless.com>2009-01-25 19:14:34 +0000
commit9a98308d994545aa620960f7c61cb5b80bee3331 (patch)
tree459054ea9ac4cb3482fe21d968d385fd76528f30 /docs/narr/project.rst
parent957132ae62528f63a9f7e806858bd1ea7394f778 (diff)
downloadpyramid-9a98308d994545aa620960f7c61cb5b80bee3331.tar.gz
pyramid-9a98308d994545aa620960f7c61cb5b80bee3331.tar.bz2
pyramid-9a98308d994545aa620960f7c61cb5b80bee3331.zip
Root factory nomenclature.
Diffstat (limited to 'docs/narr/project.rst')
-rw-r--r--docs/narr/project.rst7
1 files changed, 4 insertions, 3 deletions
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