diff options
| author | Patrick Canfield <patrickcandoit@gmail.com> | 2013-03-18 12:00:43 -0700 |
|---|---|---|
| committer | Pzatrick <patrickcandoit@gmail.com> | 2013-03-21 13:25:05 -0700 |
| commit | 203fe8b2a92c18151894f0656b7846cef8ec4e51 (patch) | |
| tree | 4c7d42dded5ef9a9295fdb1228b2dc0d8bd82375 /docs/tutorials/wiki2 | |
| parent | f38126c3214c936f022e68a1cac88c3cd8644879 (diff) | |
| download | pyramid-203fe8b2a92c18151894f0656b7846cef8ec4e51.tar.gz pyramid-203fe8b2a92c18151894f0656b7846cef8ec4e51.tar.bz2 pyramid-203fe8b2a92c18151894f0656b7846cef8ec4e51.zip | |
Update basiclayout.rst, more deductive concept ordering, singular form of terms
Diffstat (limited to 'docs/tutorials/wiki2')
| -rw-r--r-- | docs/tutorials/wiki2/basiclayout.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst index eb2445864..109d368b8 100644 --- a/docs/tutorials/wiki2/basiclayout.rst +++ b/docs/tutorials/wiki2/basiclayout.rst @@ -132,11 +132,11 @@ Finally, ``main`` is finished configuring things, so it uses the View Declarations via ``views.py`` ---------------------------------- -Mapping a :term:`route` to code that will be executed when a match for -the route's pattern occurs is done by registering a :term:`view -configuration`. Our application uses the -:meth:`pyramid.view.view_config` decorator to map view callables to -each route, thereby mapping URL patterns to code. +Arguably, the main function of a web framework is mapping each URL +patterns, see :term:`route`, to code, see :term:`view callable`, that is +executed when the requested URL matches the corresponding :term:`route`. Our +application uses the :meth:`pyramid.view.view_config` decorator to perform +this mapping. Open ``tutorial/tutorial/views.py``. It should already contain the following: |
