diff options
| author | Chris McDonough <chrism@plope.com> | 2012-09-13 18:12:33 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2012-09-13 18:12:33 -0400 |
| commit | a9f5e705bb331098946eef774857511a02e4f498 (patch) | |
| tree | 35eee0505157215b5286203d7424a2d8cce39af7 /docs/api/chameleon_zpt.rst | |
| parent | 3aeb794d49655e7cd81b7d553f0da275b0cde3a9 (diff) | |
| parent | 9ff3b26dcb8ab9e846356d64a18f1ec10440e02e (diff) | |
| download | pyramid-a9f5e705bb331098946eef774857511a02e4f498.tar.gz pyramid-a9f5e705bb331098946eef774857511a02e4f498.tar.bz2 pyramid-a9f5e705bb331098946eef774857511a02e4f498.zip | |
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/api/chameleon_zpt.rst')
| -rw-r--r-- | docs/api/chameleon_zpt.rst | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/docs/api/chameleon_zpt.rst b/docs/api/chameleon_zpt.rst deleted file mode 100644 index df9a36a56..000000000 --- a/docs/api/chameleon_zpt.rst +++ /dev/null @@ -1,28 +0,0 @@ -.. _chameleon_zpt_module: - -:mod:`pyramid.chameleon_zpt` -------------------------------- - -.. automodule:: pyramid.chameleon_zpt - - .. autofunction:: get_template - - .. autofunction:: render_template - - .. autofunction:: render_template_to_response - -These APIs will work against files which supply template text which -matches the :term:`ZPT` specification. - -The API of :mod:`pyramid.chameleon_zpt` is identical to that of -:mod:`pyramid.chameleon_text`; only its import location is -different. If you need to import an API functions from this module as -well as the :mod:`pyramid.chameleon_text` module within the same -view file, use the ``as`` feature of the Python import statement, -e.g.: - -.. code-block:: python - :linenos: - - from pyramid.chameleon_zpt import render_template as zpt_render - from pyramid.chameleon_text import render_template as text_render |
