Tuesday, November 23, 2010

Could not import settings error Django

I got the following error when I wanted to run my new django app:
Error: Could not import settings 'blog.settings' (Is it on sys.path? Does it have syntax errors?): No module named settings

This turned out to be caused by creating an 'app' that has the same name as your 'project'. Renaming my project to 'blogz' solved this issue.

No comments:

Post a Comment