Tuesday, March 9, 2010

Re: tutorial --> deploy snag

Hello,

I __think__ you must add the path industtromatic_com in your wsgi
settings file,

> The line
> os.environ['DJANGO_SETTINGS_MODULE'] = 'industromatic_com.settings'
> refers to a dir I made, /home/john/WEBprojects/industromatic_com, that I copied the
> contents of mysite into.  mysite as it was at the end of the tuturial.

i.e. something like:

import sys
sys.path.append( "/home/john/WEBprojects/industromatic_com" )
os.environ["DJANGO_SETTINGS_MODULE"] = 'industromatic_com.settings'
....

HTH - Joakim

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate