On Friday 21 August 2009 13:59:23 adam wrote: > yeah there is an ini file in there. What am i missing?
An ini-file? That's not what I asked about. However, template directories must be python packages. So in a python-prompt >>> import path.to.core_html.email_html must work. Diez > On Aug 20, 12:35 pm, "Diez B. Roggisch" <[email protected]> wrote: > > On Thursday 20 August 2009 12:59:01 adam wrote: > > > Hello > > > > > > I have my main rubberduckiee folder with all my controller files, > > > model file, public files that is setup automatically when you create a > > > new tg2 project. I have added a new folder within here called > > > core_html. > > > > > > I need to point to that folder and i am trying to do > > > > > > self.template_dir = url('../core_html/email_html/ > > > email_templates_send') > > > > > > but i keep getting IOError: The template file ../core_html/email_html/ > > > email_templates_send/test.html does not exist. > > > > > > How do i point to a folder within the main project folder? > > > > > > I hope this makes sense > > > > Did you think of adding a __init__.py to that folder? > > > > Diez > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

