updating settings.py with generic database configuration