Update settings.py

remove refactored code