diff options
| author | Chris McDonough <chrism@plope.com> | 2013-01-01 18:25:29 -0800 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2013-01-01 18:25:29 -0800 |
| commit | c5d01d4667d678782898b7d6859d60c617e30a9e (patch) | |
| tree | c792a3bf12b2b2615fbb306e354c85b10983d63b /docs/tutorials/wiki/basiclayout.rst | |
| parent | 1b5c1c3df5eadf02b0e8818e32ee45e69b2c051f (diff) | |
| parent | 043ccddb909327106264d10ed5d413760a51770d (diff) | |
| download | pyramid-c5d01d4667d678782898b7d6859d60c617e30a9e.tar.gz pyramid-c5d01d4667d678782898b7d6859d60c617e30a9e.tar.bz2 pyramid-c5d01d4667d678782898b7d6859d60c617e30a9e.zip | |
Merge pull request #760 from tshepang/typos
lots of typos
Diffstat (limited to 'docs/tutorials/wiki/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki/basiclayout.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki/basiclayout.rst b/docs/tutorials/wiki/basiclayout.rst index 12cf86a91..da381ad7b 100644 --- a/docs/tutorials/wiki/basiclayout.rst +++ b/docs/tutorials/wiki/basiclayout.rst @@ -38,13 +38,13 @@ point happens to be the ``main`` function within the file named factory is named ``root_factory``. #. *Line 15*. Register a 'static view' which answers requests which start - with with URL path ``/static`` using the + with URL path ``/static`` using the :meth:`pyramid.config.Configurator.add_static_view method`. This statement registers a view that will serve up static assets, such as CSS and image files, for us, in this case, at ``http://localhost:6543/static/`` and below. The first argument is the "name" ``static``, which indicates that the URL path prefix of the view - will be ``/static``. the The second argument of this tag is the "path", + will be ``/static``. The second argument of this tag is the "path", which is a relative :term:`asset specification`, so it finds the resources it should serve within the ``static`` directory inside the ``tutorial`` package. The scaffold could have alternately used an *absolute* asset |
