我在IIS 7.5上运行Django App时遇到了一些问题。
只需按照[this] [1]介绍的步骤操作即可。 我成功在IIS 7.5上运行该项目。
但是,它显示出一些问题......就像这样......
Request Method: GET Request URL: http://localhost/ Traceback: File "D:\Program Files\Python\Python25\lib\site-packages\django\core\handlers\base.py" in get_response 101. request.path_info) File "D:\Program Files\Python\Python25\lib\site-packages\django\core\urlresolvers.py" in resolve 252. sub_match = pattern.resolve(new_path) File "D:\Program Files\Python\Python25\lib\site-packages\django\core\urlresolvers.py" in resolve 158. return ResolverMatch(self.callback, args, kwargs, self.name) File "D:\Program Files\Python\Python25\lib\site-packages\django\core\urlresolvers.py" in _get_callback 170. raise ViewDoesNotExist("Tried %s in module %s. Error was: %s" % (func_name, mod_name, str(e))) Exception Type: ViewDoesNotExist at / Exception Value: Tried home in module core.views. Error was: 'module' object has no attribute 'argv'