switch to PostgreSQL, move dev-only settings out of settings.py