Hi,
On 9/20/10 3:38 PM, Jeff Bauer wrote:
I'm open to better ideas. Basically, I have a BaseReport
class from which all XXXReport classes derive. My thought
was to put in custom template filters into BaseReport. If
custom filters should be global, I can live with that.
Currently filters are loaded globally. Recent changes in the compiler
interface now make it possible for future Jinja versions to support
different filters and other extensions for different templates, but so
far I haven't found a nice interface for that.
For the time being I recommend using one environment and registering
filters globally there.
Regards,
Armin
--
You received this message because you are subscribed to the Google Groups
"pocoo-libs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pocoo-libs?hl=en.