[Answered ]-ImportError: Could not import settings

2👍

Your PYTHONPATH is C:\django\entitetracker. You can load entitetracker.settings. In finish, Python try to find C:\django\entitetracker\entitetracker\settings package.

Use

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")

0👍

My God, I’m so stupid. The error was I was missing the two dashes before settings=settings.local! Thanks for your help Tomasz.

Leave a comment