Chris McDonough
2012-02-19 d679fac8a17d3eaf1cca9a4edaf37b4e56f1d010
refs
author Chris McDonough <chrism@plope.com>
Sunday, February 19, 2012 18:55 +0100
committer Chris McDonough <chrism@plope.com>
Sunday, February 19, 2012 18:55 +0100
commitd679fac8a17d3eaf1cca9a4edaf37b4e56f1d010
tree 8b22042a5d40d6c586693331f3590c0400b65393 tree | zip | gz
parent 8d9aafb56f00506109cce444e6037cba63428ad4 view | diff
- Create a "MakoRendererFactoryHelper" that provides customizable settings
key prefixes. Allows settings prefixes other than "mako." to be used to
create different factories that don't use the global mako settings. This
will be useful for the debug toolbar, which can currently be sabotaged by
someone using custom mako configuration settings.
4 files modified
238 ■■■■■ changed files
CHANGES.txt 9 ●●●●● diff | view | raw | blame | history
TODO.txt 6 ●●●●● diff | view | raw | blame | history
pyramid/mako_templating.py 125 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_mako_templating.py 98 ●●●●● diff | view | raw | blame | history