Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specified installation instructions for pyramid_chameleon in quick tour docs #1163

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/quick_tour.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down