Re: A Python Web Application Package and Format

Ian Bicking <[email protected]>
Newsgroups gmane.comp.python.web
Message-ID <[email protected]>
On Wed, Apr 27, 2011 at 5:21 PM, Daniel Holth <[email protected]> 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
[email protected]
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: http://mail.python.org/mailman/options/web-sig/gcpw-web-sig%40m.gmane.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.