settings.py properly refactored