Pylons / pyramid_tutorials

Tutorials for Pyramid
https://docs.pylonsproject.org/projects/pyramid/en/latest/
89 stars 63 forks source link

Modification for backwards incompatibility with Mako templates in Pyramid 1.5 #47

Closed jorgeblanco closed 11 years ago

jorgeblanco commented 11 years ago

Added note in the beginning (with a link) regarding the need to install support for Mako templates with an add-on.

Also added a line of code to the task.py file to enable Mako templating support

mmerickel commented 11 years ago

It's valid to use pyramid_mako on older versions of Pyramid. Can you update this to just use pyramid_mako without mentioning 1.5+?

jorgeblanco commented 11 years ago

Removed the reference to Pyramid 1.5+, and updated the tasks.py source file to match the modification

mmerickel commented 11 years ago

Cool, before I merge this can I ask if you checked that the line numbers still match up? The rst file includes code from the source by way of line numbers so it has to be double checked.

jorgeblanco commented 11 years ago

Yes. The places referenced by line number are not affected by this modification.

mmerickel commented 11 years ago

Thanks so much!