summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/definingviews.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2020-01-03 23:14:26 -0600
committerGitHub <noreply@github.com>2020-01-03 23:14:26 -0600
commit148cf5138638ce6b1b92b4e13fe1444df9451e34 (patch)
tree7b088836b570b401caf510f130f144404cb19ca4 /docs/tutorials/wiki/definingviews.rst
parentcc396692d82441f8142fb14041542ebd2dad6f0a (diff)
parentb349c2ba948148d2f5441308c6646f624100b364 (diff)
downloadpyramid-148cf5138638ce6b1b92b4e13fe1444df9451e34.tar.gz
pyramid-148cf5138638ce6b1b92b4e13fe1444df9451e34.tar.bz2
pyramid-148cf5138638ce6b1b92b4e13fe1444df9451e34.zip
Merge pull request #3556 from stevepiercy/docs-synch-cookiecutter-pr-71
Update docs to sync with cookiecutter master branch
Diffstat (limited to 'docs/tutorials/wiki/definingviews.rst')
-rw-r--r--docs/tutorials/wiki/definingviews.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorials/wiki/definingviews.rst b/docs/tutorials/wiki/definingviews.rst
index bd8dc6ecf..2e4d009a1 100644
--- a/docs/tutorials/wiki/definingviews.rst
+++ b/docs/tutorials/wiki/definingviews.rst
@@ -73,7 +73,7 @@ Success executing this command will end with a line to the console similar to th
.. code-block:: text
- Successfully installed docutils-0.14 tutorial
+ Successfully installed docutils-0.15.2 tutorial
Adding view functions in the ``views`` package
@@ -356,7 +356,7 @@ 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 by the cookiecutter 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 in the ``routes.py`` file.
-Any number and type of static assets can be placed in this directory (or subdirectories)
+Any number and type of static assets can be placed in this directory (or subdirectories).
They are referred to by either URL or using the convenience method ``static_url``, for example ``request.static_url('<package>:static/foo.css')``, within templates.