Re: dotted path name requirements for WSGI os.environ['DJANGO_SETTINGS_MODULE'] =

2010-03-10 Thread John Griessen
Daniel Roseman wrote: On Mar 10, 3:44 pm, John Griessen wrote: Is this line OK? os.environ['DJANGO_SETTINGS_MODULE'] = 'industromatic.com.settings' The DJANGO_SETTINGS_MODULE setting is a Python module, so it must be a valid Python path. "industromatic.com" is already not a valid Python na

Re: dotted path name requirements for WSGI os.environ['DJANGO_SETTINGS_MODULE'] =

2010-03-10 Thread Daniel Roseman
On Mar 10, 3:44 pm, John Griessen wrote: > I am serving up sites named after their domains with .com in the name > but when I saw the os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' > specified in tutorials it seemed like putting a .com might be interpreted > wrong. > > Can the WSGI file

dotted path name requirements for WSGI os.environ['DJANGO_SETTINGS_MODULE'] =

2010-03-10 Thread John Griessen
I am serving up sites named after their domains with .com in the name but when I saw the os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' specified in tutorials it seemed like putting a .com might be interpreted wrong. Can the WSGI file os.environ['DJANGO_SETTINGS_MODULE'] = deal with a d