Fix the settings.py error