mako override default filters

29 views
Skip to first unread message

Jasper van den Bosch

unread,
Apr 9, 2013, 4:36:49 AM4/9/13
to pylons-...@googlegroups.com
Hi all,
If I want to set up default filters for mako, as in;

How would I do this with pyramid? Should I override
pyramid.mako_templating.MakoLookupRenderer?

Thanks,
Jasper

Atsushi Odagiri

unread,
Apr 9, 2013, 4:47:21 AM4/9/13
to pylons-...@googlegroups.com
Hi, Jasper

You can override the filters at .ini.
Check the document, http://docs.pylonsproject.org/projects/pyramid/en/1.4-branch/narr/environment.html#mako-default-filters .

Regards


2013/4/9 Jasper van den Bosch <jap...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
/*
Atsushi Odagiri
http://blog.aodag.jp
mailto:aod...@gmail.com
*/

Jasper

unread,
Apr 10, 2013, 5:35:17 AM4/10/13
to pylons-...@googlegroups.com
Excellent, thanks!
Reply all
Reply to author
Forward
0 new messages