Improve settings.py