On Fri, Dec 10, 2010 at 2:01 PM, Rich Churcher <[email protected]> wrote: > On Dec 11, 5:21 am, Chris McDonough <[email protected]> wrote: >> This may help: >> >> http://docs.pylonshq.com/pyramid/dev/narr/templates.html%23automatically-reloading-templates > > And here I thought I'd read the documentation. I didn't notice that > setting, but sadly it doesn't seem to have any effect on the appengine > development server. I suspect it would only work if you were using > paster? Having that environment variable set seems to make no > difference.
I'm not sure at which level template reloading occurs, but it may not work on the App Engine server, and so it's disabled in the development server because the dev server is supposed to have the exact behavior of the real server. > Furthermore, editing views.py or models.py results in the following > error on next page load: > > ... > File "/usr/lib/python2.5/pkgutil.py", line 186, in find_module > file, filename, etc = imp.find_module(subname, path) > File "/home/basie/work/appengine/divisions/app/lib/python/ > appengine_monkey.py", line 66, in find_module > full_py = os.path.join(p, subname + '.py') > AttributeError: 'NoneType' object has no attribute 'path' Always more errors due to App Engine not supporting Python filesystem functions. They've supposedly fixed App Engine so it works with Setuptools, and provided stub functions for the common OS operations. Maybe it works without the monkey now? -- Mike Orr <[email protected]> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
