hello all
this is straight out of my controller and produces an error
@expose(template = 'thing.templates.signup')
def index(self, *args, **kw):
override_template(self.index, 'thing.templates.index')
return dict(page = "signup")
the error can be overcome if this:
override_template(self.index, 'thing.templates.index')
is changed to this
override_template(self.index, 'genshi:thing.templates.index')
is this expected behavior?
I found this will clear things up
in decorators.py add on line 226
if len(template) < 2: template.insert(0, text_engine[0])
so like this:
text_engine = engines.get('text/html')
template = template.split(':')
if len(template) < 2: template.insert(0, text_engine[0])
template.extend(text_engine[2:])
engines['text/html'] = template
thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---