diff options
| author | Steve Piercy <web@stevepiercy.com> | 2014-02-09 23:11:18 -0600 |
|---|---|---|
| committer | Steve Piercy <web@stevepiercy.com> | 2014-02-09 23:11:18 -0600 |
| commit | 06b8b26b9d8d82e3d2f43341878d9f5f469965c3 (patch) | |
| tree | 9d1e53ebe57072a176680021ab6e800cafe5d1f1 | |
| parent | 8cf42eda7a6e12c7c5f6a88e17b1ec534211f472 (diff) | |
| parent | 039d12ad4f736548ff05e0626f16f314ec10ba21 (diff) | |
| download | pyramid-06b8b26b9d8d82e3d2f43341878d9f5f469965c3.tar.gz pyramid-06b8b26b9d8d82e3d2f43341878d9f5f469965c3.tar.bz2 pyramid-06b8b26b9d8d82e3d2f43341878d9f5f469965c3.zip | |
Merge pull request #1239 from stevepiercy/master
Clean up PR #1163
| -rw-r--r-- | docs/quick_tour.rst | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst index 2db18c8a7..0a8f58fd0 100644 --- a/docs/quick_tour.rst +++ b/docs/quick_tour.rst @@ -243,8 +243,23 @@ Pyramid doesn't mandate a particular database system, form library, etc. It encourages replaceability. This applies equally to templating, which is fortunate: developers have strong views about template languages. That said, the Pylons Project officially supports bindings for -Chameleon, Jinja2 and Mako, so in this step, let's use Chameleon as an -example: +Chameleon, Jinja2, and Mako, so in this step, let's use Chameleon. + +Let's add ``pyramid_chameleon``, a Pyramid :term:`add-on` which enables +Chameleon as a :term:`renderer` in our Pyramid applications: + +.. code-block:: bash + + $ easy_install pyramid_chameleon + +With the package installed, we can include the template bindings into +our configuration: + +.. code-block:: python + + config.include('pyramid_chameleon') + +Now lets change our views.py file: .. literalinclude:: quick_tour/templating/views.py :start-after: Start View 1 |
