On Wed, Apr 27, 2011 at 5:21 PM, Daniel Holth <dho...@gmail.com> wrote:

> I stumbled across https://apphosted.com as more web application package
> and format 'prior art'. It appears to be an App Engine competitor. According
> to their API documentation, their deployment format is an archive containing
> a single directory with your WSGI program and a metro.config. They put the
> database configuration in a settings.py written into the application's root
> with defined DB_URI, etc.
>

There's something that bothers me about using settings.py, though I guess
it's not that different from a YAML file or whatever, though with a
cleverness danger.  Conveniently you could do sys.modules['settings'] =
new.module('settings') and avoid ever making a real file.

Using the name "settings" *specifically* is likely to cause name clashes
with existing Django applications.

  Ian
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to