diff options
| author | Chris McDonough <chrism@plope.com> | 2010-10-25 18:04:18 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-10-25 18:04:18 -0400 |
| commit | 9c3b2760688aca748f81529d0b055f799959ab4b (patch) | |
| tree | 50f62cca73776377412c6ab6760be0b668b9262c /docs/api/chameleon_zpt.rst | |
| parent | c426c49cd433997aac10045052d77d9c749680b2 (diff) | |
| download | pyramid-9c3b2760688aca748f81529d0b055f799959ab4b.tar.gz pyramid-9c3b2760688aca748f81529d0b055f799959ab4b.tar.bz2 pyramid-9c3b2760688aca748f81529d0b055f799959ab4b.zip | |
convert API docs to Pyramid
Diffstat (limited to 'docs/api/chameleon_zpt.rst')
| -rw-r--r-- | docs/api/chameleon_zpt.rst | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/api/chameleon_zpt.rst b/docs/api/chameleon_zpt.rst index 0971daca3..df9a36a56 100644 --- a/docs/api/chameleon_zpt.rst +++ b/docs/api/chameleon_zpt.rst @@ -1,9 +1,9 @@ .. _chameleon_zpt_module: -:mod:`repoze.bfg.chameleon_zpt` +:mod:`pyramid.chameleon_zpt` ------------------------------- -.. automodule:: repoze.bfg.chameleon_zpt +.. automodule:: pyramid.chameleon_zpt .. autofunction:: get_template @@ -14,15 +14,15 @@ These APIs will work against files which supply template text which matches the :term:`ZPT` specification. -The API of :mod:`repoze.bfg.chameleon_zpt` is identical to that of -:mod:`repoze.bfg.chameleon_text`; only its import location is +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:`repoze.bfg.chameleon_text` module within the same +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 repoze.bfg.chameleon_zpt import render_template as zpt_render - from repoze.bfg.chameleon_text import render_template as text_render + from pyramid.chameleon_zpt import render_template as zpt_render + from pyramid.chameleon_text import render_template as text_render |
