On 02/03/2012 01:11 PM, Christoph Zwerschke wrote:
Am 03.02.2012 21:52, schrieb Andy Bierman:
My app.cfg/tg.defaultview = 'kid'
Are there other settings I missed? What am I doing wrong?
You probably need to tell TG explicitely that your widget is using a Kid template by adding a
"kid:" prefix to its template attribute, or by setting its engine_name attribute to
"kid". See here:
http://turbogears.org/1.5/docs/Upgrade.html#adaptions-so-that-kid-will-run-properly-with-turbogears-1-5
Thanks -- I should have looked for that.
I had to hack tg_expanding_form_widget.py (add kid: prefix to 1 line)
My controllers.py was defaulting to kid just fine, but the
template in the widget file defaulted to genshi.
-- Christoph
Andy
--
You received this message because you are subscribed to the Google Groups
"TurboGears" 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?hl=en.