Yes you can as Yarko explains but:

1) your app will not be portable, since it will require the other
engine installed
2) You lose the ability to byte-code compile templates and distribute
them in a closed-source web2py app.
3) The current web2py template engine, because of bytecode compilation
and one-time parsing using only regex is faster than alternatives.
4) I will argue that other engines do not have "more features" only
"more syntax to learn"
(unless you consider a feature limiting what template designers can
do).

Anyway, I may be wrong about 4 and I do like Genshi for example, but I
fail to see the point of Jinja.
Could you tell what you like about it and why you consider it superior
to the default web2py one?

Massimo

On Oct 12, 2:27 pm, pigmej <[EMAIL PROTECTED]> wrote:
> Is there any way to change default template engine in web2py?
>
> I would like to change it to something better with more features like
> Jinja2
>
> Or maybe there is a lot of undocumented things in default template
> engine ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to