I try to use django-admin.py runserver --settings=mysite.settings in Windows shell(cmd.exe)
it tells me that : 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 'example.settings' (Is it on sys.pat h? Does it have syntax errors?): No module named example.settings I have put the project in in python search path in python shell through >>> import sys >>> sys.path.append('D:\\order\\newtest') >>> sys.path ['D:\\Python24\\Lib\\idlelib', 'C:\\WINDOWS\\system32\\python24.zip', 'D:\\Python24', 'D:\\Python24\\DLLs', 'D:\\Python24\\lib', 'D:\ \Python24\\lib\\plat-win', 'D:\\Python24\\lib\\lib-tk', 'D:\\Python24\ \lib\\site-packages', 'D:\\order\\newtest'] where newtest is the project why it does not work ???? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---