What is the value of 'path' after the os.path.join()? 2010/3/15 Kenchu <[email protected]>: > Displaying a template that resides in the main folder together with > the script works just fine, but as soon as I try to display one in a > subfolder, I get an error: > > TemplateDoesNotExist: index.htm > > It's weird that it doesn't display the full path. > > This is the code I use: > > path = os.path.join(os.path.dirname(__file__), 'flash/index.htm') > self.response.out.write(template.render(path,{})) > > Are you not allowed to display templates in subfolders? > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" 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/google-appengine?hl=en. > >
-- You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en.
