Fixed settings.py issue