Update settings.py

Changes in preparation for migration to AWS