1👍
It seems like the local.py module imports from base.py, you probably have something like:
from base import *
at the top of your local settings.
But the base.py settings module is not there, hence the error.
1👍
It looks like that django is not finding “mysite.settings.local” package because it is not in your PYTHONPATH
.
You have to add sys.path in your manage.py file, following should work for you :-
sys.path.append(os.path.dirname(os.path.abspath(
__file__
)))
- [Answered ]-WSGI as AuthFormProvider
- [Answered ]-Django-OperationalError at /register/ no such table: auth_user
- [Answered ]-Django 1.10 Delete large cascade querySet
Source:stackexchange.com