From 96e65d8e6d47a1b806c4d281e6890f77f86407c3 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 28 Jul 2008 03:18:57 +0000 Subject: --- docs/api/urldispatch.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/api/urldispatch.rst b/docs/api/urldispatch.rst index 4660d0de8..8d4930d34 100644 --- a/docs/api/urldispatch.rst +++ b/docs/api/urldispatch.rst @@ -42,7 +42,8 @@ You might then configure the ``RoutesMapper`` like so:: At this point, if any URL matches the pattern ``archives/:article``, the ``.views.articles_view`` view will be called with its context as a -only-the-fly-generated-model with attributes matching the Routes -routing dictionary associated with the request. In particular, in -this case the model will have an ``article`` attribute matching the -article picked off the URL by Routes. +only-the-fly-generated-model with attributes matching the keys and +values in the Routes routing dictionary associated with the request. +In this case in particular, when a user visits +``/archives/something``, the model will have an ``article`` attribute +with the value of ``something``. -- cgit v1.2.3