I usually store my custom templates in the database for web editing
and version tracking.

I was interested in Django with GAE, however with the inability to
write out files to the disk, web editing wasn't possible since I found
I couldn't call Django templates from the database:

templatepage = 'templates?template=templatename'
path = os.path.join(os.path.dirname(__file__), templatepage)
self.response.out.write(template.render(path, template_values))

However I get "TemplateDoesNotExist"

Is there an alternative way that enables Django loading of the file
from the database anyone can think of?
--~--~---------~--~----~------------~-------~--~----~
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