summaryrefslogtreecommitdiff
path: root/docs/narr/project.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-12-18 15:12:46 -0500
committerChris McDonough <chrism@plope.com>2010-12-18 15:12:46 -0500
commita5ffd62175a09402fbe37ec8c2077873e0a35903 (patch)
tree5922c246046dc8ac833f260b7f82d629f406e3fa /docs/narr/project.rst
parentbbb9b5a5b1b97bf3c333a7fbfa68cc773ac9d263 (diff)
downloadpyramid-a5ffd62175a09402fbe37ec8c2077873e0a35903.tar.gz
pyramid-a5ffd62175a09402fbe37ec8c2077873e0a35903.tar.bz2
pyramid-a5ffd62175a09402fbe37ec8c2077873e0a35903.zip
model->resource; make docs render without warnings
Diffstat (limited to 'docs/narr/project.rst')
-rw-r--r--docs/narr/project.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/narr/project.rst b/docs/narr/project.rst
index 27974d8df..ff03a57b8 100644
--- a/docs/narr/project.rst
+++ b/docs/narr/project.rst
@@ -790,13 +790,13 @@ also informs Python that the directory which contains it is a *package*.
name`. The view declaration also names a ``renderer``, which in this case
is a template that will be used to render the result of the view callable.
This particular view declaration points at
- ``myproject:templates/mytemplate.pt``, which is a :term:`resource
+ ``myproject:templates/mytemplate.pt``, which is a :term:`asset
specification` that specifies the ``mytemplate.pt`` file within the
``templates`` directory of the ``myproject`` package. The template file
it actually points to is a :term:`Chameleon` ZPT template file.
Line 11 registers a static view, which will serve up the files from the
- ``mypackage:static`` :term:`resource specification` (the ``static``
+ ``mypackage:static`` :term:`asset specification` (the ``static``
directory of the ``mypackage`` package).
Line 12 returns a :term:`WSGI` application to the caller of the function
@@ -874,10 +874,10 @@ sort of datastore you'll want to use, so the sample application uses an
instance of :class:`myproject.resources.Root` to represent the root.
``static``
-~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~
-This directory contains static resources which support the
-``mytemplate.pt`` template. It includes CSS and images.
+This directory contains static assets which support the ``mytemplate.pt``
+template. It includes CSS and images.
.. index::
single: tests.py