From fd0f6308c840ab5d5712d4b51e47d51bc2809167 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 3 Jul 2009 14:06:56 +0000 Subject: API docs audit. --- docs/narr/templates.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/narr/templates.rst') 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 ---------------------------------------------- -- cgit v1.2.3