This is what I usually use. It looks for a directory called
"templates" relative to the current handler script.

def get_template_path(template_name):
    """ Returns the path to a given template_name"""
    return os.path.join(os.path.dirname(__file__), 'templates',
'%s.html' % template_name)

On Feb 24, 4:59 am, Bob  Matsuoka <bobmat...@gmail.com> wrote:
> I've seen this referenced many times, and have probably read all of
> the responses.  All I simply want to do is set the TEMPLATE_DIRS
> setting in my webapp configuration (I DO NOT -- yet -- want to run
> Django, I simply want to use the templates and configure them).
>
> Is there any way to do this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to