still does not work ... I  have set the environment variable
PYTHONPATH to the parent directory of the mysite. ...

   raise EnvironmentError, "Could not import settings '%s' (Is it on
sys.path?
does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e)
environmentError: Could not import settings 'mysite.settings' (Is it
on sys.path?
 Does it have syntax errors?): No module named mysite.settings


>>> import sys
>>> sys.path.append('D:\\order')
>>> sys.path
['D:\\Python25\\Lib\\idlelib', 'C:\\WINDOWS\\system32\\python25.zip',
'D:\\Python25\\DLLs', 'D:\\Python25\\lib', 'D:\\Python25\\lib\\plat-
win', 'D:\\Python25\\lib\\lib-tk', 'D:\\Python25', 'D:\\Python25\\lib\
\site-packages', 'D:\\order']
>>> mysite
<module 'mysite' from 'D:\order\mysite\__init__.pyc'>

django-admin.py runserver --settings=mysite.settings
                                                        in Windows
shell(cmd.exe)

D:\\order is the parent directory of the mysite.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to