diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-07-03 14:06:56 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-07-03 14:06:56 +0000 |
| commit | fd0f6308c840ab5d5712d4b51e47d51bc2809167 (patch) | |
| tree | f1edf4a668a29141294962b7fa7c57d99135addb /docs/narr/templates.rst | |
| parent | 2f6bc22af62e4adfd533418b275d9815fb38f230 (diff) | |
| download | pyramid-fd0f6308c840ab5d5712d4b51e47d51bc2809167.tar.gz pyramid-fd0f6308c840ab5d5712d4b51e47d51bc2809167.tar.bz2 pyramid-fd0f6308c840ab5d5712d4b51e47d51bc2809167.zip | |
API docs audit.
Diffstat (limited to 'docs/narr/templates.rst')
| -rw-r--r-- | docs/narr/templates.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst index 316bd3016..a2117622f 100644 --- a/docs/narr/templates.rst +++ b/docs/narr/templates.rst @@ -56,7 +56,7 @@ has a *status code* of ``200 OK`` and a *content-type* of ``text-html``. If you need more control over the status code and content-type, either set attributes on the response that this function returns or use the ``render_template`` function instead (see -:ref:`template_module` for the details), which also renders a ZPT +:ref:`chameleon_zpt_module` for the details), which also renders a ZPT template but returns a string instead of a Response. You can use the string manually as a response body. Here's an example of using ``render_template``: @@ -201,7 +201,7 @@ which renders this template: The Chameleon text rendering API is a wholesale mirror of the Chameleon text ZPT rendering API, it's just imported from another -place; see :ref:`template_module` for the API description. +place; see :ref:`chameleon_text_module` for the API description. Side Effects of Rendering a Chameleon Template ---------------------------------------------- |
