diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/quick_tour.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/quick_tour.rst b/docs/quick_tour.rst index 2db18c8a7..cdc70681c 100644 --- a/docs/quick_tour.rst +++ b/docs/quick_tour.rst @@ -246,6 +246,23 @@ 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: +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 :end-before: End View 1 |
