On Fri, May 15, 2015 at 1:53 PM, Krishnakant Mane <[email protected]> wrote:

> ok I am trying to understand this.
> I however am confused about a couple of things.
> 1, when creating forms with toscawidgets in turbogears is it necessary
> that I must use genshi?  If yes then adding css to roms will need the
> resource list as you suggested.  is that correct?
>

Uhm, no you can create the form with any engine supported by TW2 which
includes Mako and Jinja.
Independently from the engine you are using you still need to add
"resources" to the form as that is the way TW2 brings in dependencies for
the form/fields.


> 2, If i decide to use jinja (which I plan to ) will I have any problems
> using with turbogears?
>

TG itself should work correctly with jinja, but not all extensions will
support it.
Most, if not all, pluggable applications are written with Genshi, so you
can keep your templates to jinja while the plugged apps will use genshi.
The only additional effort is that you are required to maintain also a
master.html template in your project or the plugged apps will have a
different look.

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to