diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-18 15:12:46 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-18 15:12:46 -0500 |
| commit | a5ffd62175a09402fbe37ec8c2077873e0a35903 (patch) | |
| tree | 5922c246046dc8ac833f260b7f82d629f406e3fa /docs/zcml/view.rst | |
| parent | bbb9b5a5b1b97bf3c333a7fbfa68cc773ac9d263 (diff) | |
| download | pyramid-a5ffd62175a09402fbe37ec8c2077873e0a35903.tar.gz pyramid-a5ffd62175a09402fbe37ec8c2077873e0a35903.tar.bz2 pyramid-a5ffd62175a09402fbe37ec8c2077873e0a35903.zip | |
model->resource; make docs render without warnings
Diffstat (limited to 'docs/zcml/view.rst')
| -rw-r--r-- | docs/zcml/view.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/zcml/view.rst b/docs/zcml/view.rst index 6887f88fb..b4fabdc2c 100644 --- a/docs/zcml/view.rst +++ b/docs/zcml/view.rst @@ -51,7 +51,7 @@ Non-Predicate Attributes ``renderer`` This is either a single string term (e.g. ``json``) or a string - implying a path or :term:`resource specification` + implying a path or :term:`asset specification` (e.g. ``templates/views.pt``). If the renderer value is a single term (does not contain a dot ``.``), the specified term will be used to look up a renderer implementation, and that renderer @@ -72,10 +72,10 @@ Non-Predicate Attributes template named "foo.pt" is in the "templates" directory relative to the directory in which the ZCML file is defined), a path can be absolute, starting with a slash on UNIX or a drive letter prefix on - Windows. The path can alternately be a :term:`resource + Windows. The path can alternately be a :term:`asset specification` in the form ``some.dotted.package_name:relative/path``, making it possible to - address template resources which live in a separate package. + address template assets which live in a separate package. The ``renderer`` attribute is optional. If it is not defined, the "null" renderer is assumed (no rendering is performed and the value |
