diff options
| author | Paul Everitt <paul@agendaless.com> | 2013-09-13 17:09:35 -0400 |
|---|---|---|
| committer | Paul Everitt <paul@agendaless.com> | 2013-09-13 17:09:35 -0400 |
| commit | 4042c772c8043ac96a22db439a736fec9ea2aafa (patch) | |
| tree | 88abca8bdea3781975822b716d7091b607fd1566 /docs/quick_tutorial/routing.rst | |
| parent | b1b92284f496800a4dfd2cea72cb9be07ba8661c (diff) | |
| download | pyramid-4042c772c8043ac96a22db439a736fec9ea2aafa.tar.gz pyramid-4042c772c8043ac96a22db439a736fec9ea2aafa.tar.bz2 pyramid-4042c772c8043ac96a22db439a736fec9ea2aafa.zip | |
All the references re-wired.
Diffstat (limited to 'docs/quick_tutorial/routing.rst')
| -rw-r--r-- | docs/quick_tutorial/routing.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/quick_tutorial/routing.rst b/docs/quick_tutorial/routing.rst index 39597d996..33b1edb28 100644 --- a/docs/quick_tutorial/routing.rst +++ b/docs/quick_tutorial/routing.rst @@ -12,7 +12,7 @@ Writing web applications usually means sophisticated URL design. We just saw some Pyramid machinery for requests and views. Let's look at features that help in routing. -Previously we saw the basics of routing URLs to views in Pyramid: +Previously we saw the basics of routing URLs to views in - Your project's "setup" code registers a route name to be used when matching part of the URL @@ -93,7 +93,7 @@ In ``__init__.py`` we see an important change in our route declaration: config.add_route('hello', '/howdy/{first}/{last}') -With this we tell the :term:`pyramid:configurator` that our URL has +With this we tell the :term:`configurator` that our URL has a "replacement pattern". With this, URLs such as ``/howdy/amy/smith`` will assign ``amy`` to ``first`` and ``smith`` to ``last``. We can then use this data in our view: |
