summaryrefslogtreecommitdiff
path: root/docs/tutorials/bfgwiki2/definingviews.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-06-01 02:28:48 +0000
committerChris McDonough <chrism@agendaless.com>2009-06-01 02:28:48 +0000
commit2dbe3c9132ff850a18384b1e02087824a841e846 (patch)
treee6f3d75e11c0b314285441d4910520478b7a0379 /docs/tutorials/bfgwiki2/definingviews.rst
parent5b10a25c59ccb636dc58f797950952806f3ed1ef (diff)
downloadpyramid-2dbe3c9132ff850a18384b1e02087824a841e846.tar.gz
pyramid-2dbe3c9132ff850a18384b1e02087824a841e846.tar.bz2
pyramid-2dbe3c9132ff850a18384b1e02087824a841e846.zip
Flesh out the rest.
Diffstat (limited to 'docs/tutorials/bfgwiki2/definingviews.rst')
-rw-r--r--docs/tutorials/bfgwiki2/definingviews.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/tutorials/bfgwiki2/definingviews.rst b/docs/tutorials/bfgwiki2/definingviews.rst
index 0efd2ce21..178f4922a 100644
--- a/docs/tutorials/bfgwiki2/definingviews.rst
+++ b/docs/tutorials/bfgwiki2/definingviews.rst
@@ -237,6 +237,9 @@ Mapping Views to URLs in ``configure.zcml``
The ``configure.zcml`` file contains ``route`` declarations which
serve to map URLs (via :term:`url dispatch`) to view functions.
You'll need to add five ``view`` declarations to ``configure.zcml``.
+Note that the *ordering* of these declarations is very important.
+``route`` declarations are matched in the order they're found in the
+``configure.zcml`` file.
#. Add a declaration which maps the empty path (signifying the root
URL) to the view named ``view_wiki`` in our ``views.py`` file with