configured settings.py for a postgres database