summaryrefslogtreecommitdiff
path: root/docs/narr/templates.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-10-30 02:39:22 -0400
committerChris McDonough <chrism@plope.com>2010-10-30 02:39:22 -0400
commitd892b08d2380ef3f61355753daeb729bfa3c4895 (patch)
tree8fe0dd6cef25b4268ad428d1de52aaa4ea12608e /docs/narr/templates.rst
parentcd3d5fda6693d90690bfe844b68850017515c701 (diff)
parent7698bd83ebc974df7855e4203d2bda0925840956 (diff)
downloadpyramid-d892b08d2380ef3f61355753daeb729bfa3c4895.tar.gz
pyramid-d892b08d2380ef3f61355753daeb729bfa3c4895.tar.bz2
pyramid-d892b08d2380ef3f61355753daeb729bfa3c4895.zip
Merge branch 'master' of github.com:Pylons/pyramid
Diffstat (limited to 'docs/narr/templates.rst')
-rw-r--r--docs/narr/templates.rst19
1 files changed, 8 insertions, 11 deletions
diff --git a/docs/narr/templates.rst b/docs/narr/templates.rst
index 57d1bc3b9..736e6a185 100644
--- a/docs/narr/templates.rst
+++ b/docs/narr/templates.rst
@@ -8,10 +8,9 @@ dynamic data provided by a :term:`view`. :mod:`pyramid` offers a
number of ways to perform templating tasks out of the box, and
provides add-on templating support through a set of bindings packages.
-Out of the box, :mod:`pyramid` provides templating via the
-:term:`Chameleon` templating library. :term:`Chameleon` provides
-support for two different types of templates: :term:`ZPT` templates
-and text templates.
+Out of the box, :mod:`pyramid` provides templating via the :term:`Chameleon`
+and :term:`Mako` templating libraries. :term:`Chameleon` provides support for
+two different types of templates: :term:`ZPT` templates and text templates.
Before discussing how built-in templates are used in
detail, we'll discuss two ways to render templates within
@@ -166,13 +165,11 @@ For example, here's an example of using raw `Mako
response = Response(result)
return response
-You probably wouldn't use this particular snippet in a project,
-because it's easier to use the Mako renderer bindings which already
-exist for :mod:`pyramid` named ``repoze.bfg.mako`` (available from
-`PyPI <http://pypi.python.org/pypi/repoze.bfg.mako>`_). But if your
-favorite templating system is not supported as a renderer extension
-for :mod:`pyramid`, you can create your own simple combination as
-shown above.
+You probably wouldn't use this particular snippet in a project, because it's
+easier to use the Mako renderer bindings which already exist in
+:mod:`pyramid`. But if your favorite templating system is not supported as a
+renderer extension for :mod:`pyramid`, you can create your own simple
+combination as shown above.
.. note::