coto/gae-boilerplate — pull request #174 by peta15 (2012-10-22 02:01:04+00:00)
Title: config updated to use webapp2 config dict

Config updated to include all configuration parameters in the webapp2
config dict. config is no longer imported (except in main.py and
unittest setup), instead it is retrieved from app.config.

This is best practice according to webapp2 docs and will allow us to
have multiple app instances with different configurations, let us
override settings in unittests more easily, and let us have a user
config which overrides the boilerplate config without breaking
boilerplate unittests.

Note that config params are retrieved using dict.get() syntax which does
not throw errors if the config param requested does not exist. If this
is undesirable we can change to config[] syntax.