ok i am trying to adapt the code above for my own little app.
I need to get the template dir for turbo gears 2. i am trying this
self.template_dir = config.get("templatedir", '')
self.loader = TemplateLoader(self.template_dir, auto_reload=True)
print self.template_dir
and nothing is being printed out. What am i missing?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---