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 Error.

If I change the DJANGO_SETTINGS_MODULE to:
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
(remove the myproject.)
Then WSGI works, but I get Django errors of missing URL conf, and then 
VIEW, etc...
can I use DJANGO_SETTINGS_MODULE different from folder name?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to