more settings.py tweaks