summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki2/definingviews.rst
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2015-05-25 00:09:57 -0700
committerSteve Piercy <web@stevepiercy.com>2015-05-25 00:09:57 -0700
commit492f6945b2be2874a97071a93fd786c28515efa6 (patch)
tree45d9d811c50e19e867df9dd3be1c84fef820260a /docs/tutorials/wiki2/definingviews.rst
parent31297f48cccbb3c8fc98b437e94156e414a9f925 (diff)
downloadpyramid-492f6945b2be2874a97071a93fd786c28515efa6.tar.gz
pyramid-492f6945b2be2874a97071a93fd786c28515efa6.tar.bz2
pyramid-492f6945b2be2874a97071a93fd786c28515efa6.zip
update templates and static assets for each step
Diffstat (limited to 'docs/tutorials/wiki2/definingviews.rst')
-rw-r--r--docs/tutorials/wiki2/definingviews.rst14
1 files changed, 6 insertions, 8 deletions
diff --git a/docs/tutorials/wiki2/definingviews.rst b/docs/tutorials/wiki2/definingviews.rst
index 9a684fe3e..0981af268 100644
--- a/docs/tutorials/wiki2/definingviews.rst
+++ b/docs/tutorials/wiki2/definingviews.rst
@@ -282,14 +282,12 @@ by the view (line 43). The view will use the ``body`` and
Static Assets
-------------
-Our templates name a single static asset named ``pylons.css``. We don't need
-to create this file within our package's ``static`` directory because it was
-provided at the time we created the project. This file is a little too long
-to replicate within the body of this guide, however it is available `online
-<https://github.com/Pylons/pyramid/blob/master/docs/tutorials/wiki2/src/views/tutorial/static/pylons.css>`_.
-
-This CSS file will be accessed via
-``http://localhost:6543/static/pylons.css`` by virtue of the call to the
+Our templates name static assets, including CSS and images. We don't need
+to create these files within our package's ``static`` directory because they
+were provided at the time we created the project.
+
+As an example, the CSS file will be accessed via
+``http://localhost:6543/static/theme.css`` by virtue of the call to the
``add_static_view`` directive we've made in the ``__init__.py`` file. Any
number and type of static assets can be placed in this directory (or
subdirectories) and are just referred to by URL or by using the convenience