From 2dbe3c9132ff850a18384b1e02087824a841e846 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 1 Jun 2009 02:28:48 +0000 Subject: Flesh out the rest. --- docs/tutorials/bfgwiki2/definingviews.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/tutorials/bfgwiki2/definingviews.rst') 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 -- cgit v1.2.3