Updated settings.py for postgreSQL