The idea itself makes a lot of sense for me and the patch seems fine. But I'm not a jinja user, so I'm not sure if there is a better solution.
On Thu, Sep 29, 2011 at 3:10 AM, Carlos Daniel Ruvalcaba Valenzuela <[email protected]> wrote: > Hello everyone, > > It got my attention while using Turbogears with jinja2 templates that > build-in filters are not working, there aren't build-in in the sense > that they are there automatically, they are build-in because are part > of the core jinja2 package, you have to manually add them to the > rendering environment. > > Thus I would like to propose adding automatically the build-in filters > on the jinja setup procedure, which is a trivial task, I already added > it to the tracker and proposed a patch: > > https://sourceforge.net/p/turbogears2/tickets/119/ > > With this addition we would gain a lot of useful filters: > http://jinja.pocoo.org/docs/templates/#list-of-builtin-filters > > Reviews, comments? suggestions? improvements? > > Regards, > Carlos Daniel Ruvalcaba > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears Trunk" 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/turbogears-trunk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en.
