summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-03-03 16:46:10 +0000
committerChris McDonough <chrism@agendaless.com>2010-03-03 16:46:10 +0000
commiteb31917ec91bd44f447e69978545128e13445558 (patch)
treecd650b88e6fd00eae97236c32a5250baf13e77d0 /docs
parent41f82575328f9313e89ebc8976ffcd487c69c63a (diff)
downloadpyramid-eb31917ec91bd44f447e69978545128e13445558.tar.gz
pyramid-eb31917ec91bd44f447e69978545128e13445558.tar.bz2
pyramid-eb31917ec91bd44f447e69978545128e13445558.zip
Off-by-one (thanks to Chris W.)
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/project.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst
index 539429ab2..f4621a889 100644
--- a/docs/narr/project.rst
+++ b/docs/narr/project.rst
@@ -685,7 +685,7 @@ the :term:`application registry`. It looks like so:
language. ``http://namespaces.repoze.org/bfg`` is the default XML
namespace. Add-on packages may require other namespaces.
-#. Line 4 initializes :mod:`repoze.bfg` -specific configuration
+#. Line 3 initializes :mod:`repoze.bfg` -specific configuration
directives by including the ``repoze.bfg.includes`` package. This
causes all of the ZCML within the ``configure.zcml`` of the
``repoze.bfg.includes`` package to be "included" in this
@@ -693,7 +693,7 @@ the :term:`application registry`. It looks like so:
(for this example) the ``view`` and ``static`` directives which
follow later in this file.
-#. Lines 6-10 register a "default view" (a view that has no ``name``
+#. Lines 5-9 register a "default view" (a view that has no ``name``
attribute). It is registered so that it will be found when the
:term:`context` of the request is an instance of the
:class:`myproject.models.MyModel` class. The ``view`` attribute
@@ -718,12 +718,12 @@ the :term:`application registry`. It looks like so:
``configure.zcml`` file lives. The template file it points at is a
:term:`Chameleon` ZPT template file.
-#. Lines 12-15 register a static view, which will register a view
+#. Lines 11-14 register a static view, which will register a view
which serves up the files from the ``templates/static`` directory
relative to the directory in which the ``configure.zcml`` file
lives.
-#. Line 17 ends the ``configure`` root tag.
+#. Line 16 ends the ``configure`` root tag.
.. index::
single: views.py