Nice! I've thought about trying to tackle this myself, but never got past the thinking stage. Thanks for taking this on Aymeric. I've got a couple of technical/design questions.
> I’ve been thinking about providing built-in support for Jinja2 in Django. I found that supporting pluggable template engines, like Django does for databases, caches, etc. would be the most elegant solution. - The pluggable solution works well when you have a common interface, but a different implementation in the backend. Have you thought about how to support differences in syntax (interface) between various templating libraries? - Do you imagine that jinja templates can be used side-by-side, or will authors have to ship a set of templates for each engine they decide to support? Not sure that implementation questions are appropriate yet before you've started the DEP - so feel free to ask me to wait until then =) Cheers, Josh On Thursday, 2 October 2014 05:04:37 UTC+10, Aymeric Augustin wrote: > > Hello, > > I’ve been thinking about providing built-in support for Jinja2 in Django. > I found that supporting pluggable template engines, like Django does for > databases, caches, etc. would be the most elegant solution. The best > summary I have at this time is on the crowdfunding campaign’s page: > http://igg.me/at/mtefd. > > I will submit a detailed proposal to this mailing-list as soon as I have a > sufficiently good version. Until then, if you hear noises, don’t worry — > there will be a technical discussion here before any decision. > > Thanks, > > -- > Aymeric. > > > > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" 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/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/95f92d34-9c1d-4180-abd6-23d7b666400e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
