On running Django, I frequently get the following error:
ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.
How do I set the environment variables correctly? I tried the solution here but did not have any success.
ImportError: Could not import settings 'application.settings' (Is it on sys.path?): No module named application.settings
how can i set this to the python path? – yayu Apr 14 '12 at 05:00