Skip to content Skip to sidebar Skip to footer

Django Runserver, Import Fails - Project Name Capitalized?

When starting up django today with run server, which worked fine so far. Traceback (most recent call last): File 'manage.py', line 14, in execute_manager(setti

Solution 1:

what does 'pwd' tell you on the shell? mac osx is by default not case sensitive, so maybe you changed into the directory using cd MYSITE, and sometimes django simply looks at the current directory (which would be MYSITE depending on how you accessed it on the command line) and trys to import it if there is an __init__.py

Solution 2:

Somewhere in a file you've typed MYSITE. I'd guess settings.py as that's where things are in uppercase. If that's not it, try grep -R MYSITE * in your project directory. This should show you if you've typed MYSITE in any files.

Post a Comment for "Django Runserver, Import Fails - Project Name Capitalized?"