solve settings.py issue