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 <[email protected]> > Hi all, > If I want to set up default filters for mako, as in; > > http://stackoverflow.com/a/476428/708221 > > http://docs.makotemplates.org/en/latest/filtering.html#the-default-filters-argument > > How would I do this with pyramid? Should I override > pyramid.mako_templating.MakoLookupRenderer? > > Thanks, > Jasper > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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:[email protected] */ -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
