Re: DJANGOֹ_SETTINGS_MODULE different from folder name

2013-07-10 Thread Bill Freeman
It's all about sys.path and the semantics of import. DJANGO_SETTINGS_MODULE must be a name that can be imported. Any dots in the string divide the name into a number of names. The first name must be findable via sys.path. If it is the last name, it can name a .py file. Otherwise it must be the

DJANGOֹ_SETTINGS_MODULE different from folder name

2013-07-10 Thread Etay Cohen-Solal
It's kinda noob question, but I have a working dev project inside directory /var/www/django/myproject os.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings' I want to change the folder of the project to something like: /var/www/websites/il_co_project_name_www but i get 500 Internal Server E