manage.py runserver not working
Posted
by Dan Appleyard
on Stack Overflow
See other posts from Stack Overflow
or by Dan Appleyard
Published on 2010-05-17T04:06:09Z
Indexed on
2010/05/17
4:10 UTC
Read the original article
Hit count: 251
I am new to django and python in general, so pardon me for any simple mistakes I may be doing. I am trying to setup my first django project on my local windows vista machine. I have created the project successfully with no problems. The issue I am coming across is when my settings.py has values for my database keys, the manage.py runserver command is failing. If I have values in settings before I run the command, as soon as I run it I get errors. If I have already run the command and the server is running, as soon as I edit the settings file with values, the errors show up in my still open command prompt. The inner most exception seems to "Error loading MySQLdb module: No module named MYSQLdb". If I leave the settings.py blank, the command executes with no problems.
Any advice would be greatly appreciated!
Thanks
© Stack Overflow or respective owner