Is there anyway to avoid render being set to GAE_Render even when you aren't using GAE?

10 views
Skip to first unread message

Matt Habel

unread,
Aug 24, 2012, 6:06:54 PM8/24/12
to we...@googlegroups.com
I'm trying to work on the builtin dev server, but for some reason, web.template.render('templates/') is using GAE_Render, not just the basic Render. 

After looking at the code, this seems like it's because render is set to GAE_Render whenever this statement (line 1054 in web/template.py) doesn't fail

from google import appengine

I don't think that having the appengine SDK installed is a valid test of whether or not web.py should use GAE_Render. Can anyone think of a better way to detect this?
Reply all
Reply to author
Forward
0 new messages