From a5ffd62175a09402fbe37ec8c2077873e0a35903 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 18 Dec 2010 15:12:46 -0500 Subject: model->resource; make docs render without warnings --- docs/narr/project.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/narr/project.rst') 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 -- cgit v1.2.3