fixed an issue with settings.py