fix settings.py and urls.py