Look in gaehandler.py: if os.environ.get('SERVER_SOFTWARE', '').startswith('Devel'): (settings.web2py_runtime, settings.web2py_runtime_gae, debug) = \ ('gae:development', True, True) else: (settings.web2py_runtime, settings.web2py_runtime_gae, debug) = \ ('gae:production', True, False)
Robin On Sep 19, 8:19 am, notcourage <klr...@gmail.com> wrote: > Is there a variable which distinguishes dev & production for gae? It > would simplify deployment. > > On Sep 18, 3:46 pm, Robin B <robi...@gmail.com> wrote: > > > To send mail locally, you need to specify the mail server to be used: > > >http://code.google.com/appengine/docs/python/tools/devserver.html#Usi... > > > Robin > > > On Sep 17, 11:02 pm, notcourage <klr...@gmail.com> wrote: > > > > I can send email after deploying to gae but not in the dev env. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---