Don't rely on database.py to get the settings but get the settings in a more generic way.
ignore the log files
Get rid of all the try: excepts: and use a more standard way of overriding default settings with a local_settings.py
Get the AWS keys from the environment so we don't need to store them in a public repo or in a non-version-controlled local settings file