summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHari haran <hariharan.uno@gmail.com>2013-10-14 01:50:13 +0530
committerSteve Piercy <web@stevepiercy.com>2014-02-09 23:03:23 -0600
commit561a7edd3f3a2b25ca4a8f1393abf01be99fbbe3 (patch)
tree2d31839daa9a0a555d5b3a08e151257fa8f345d0
parent93b6cd09e08055061722bc619092a4f061e1634d (diff)
downloadpyramid-561a7edd3f3a2b25ca4a8f1393abf01be99fbbe3.tar.gz
pyramid-561a7edd3f3a2b25ca4a8f1393abf01be99fbbe3.tar.bz2
pyramid-561a7edd3f3a2b25ca4a8f1393abf01be99fbbe3.zip
Specified installation instructions for pyramid_chameleon
-rw-r--r--docs/quick_tour.rst17
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