by config file do you mean the development.ini file?
On Jun 25, 1:15 pm, Christopher Arndt <[email protected]> wrote:
> adam schrieb:
>
> > 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?
>
> Well, did you set a value for 'templatedir' in your configuration file?
>
> Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---