Python 入门 错误显示 AttributeError: 'module' object has no attribute 'ROOT_URLCONF'
完整错误日志![SatJan0313:10:262015][error][client127.0.0.1]mod_wsgi(pid=3996):Exceptionoccu...
完整错误日志!
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] mod_wsgi (pid=3996): Exception occurred processing WSGI script 'E:/DjangoLogin/src/DjangoLogin/djangologin.wsgi'.
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] File "E:\\Python2.7\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 206, in __call__
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] response = self.get_response(request)
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] File "E:\\Python2.7\\lib\\site-packages\\django\\core\\handlers\\base.py", line 81, in get_response
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] urlconf = settings.ROOT_URLCONF
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] File "E:\\Python2.7\\lib\\site-packages\\django\\conf\\__init__.py", line 55, in __getattr__
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] return getattr(self._wrapped, name)
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] File "E:\\Python2.7\\lib\\site-packages\\django\\conf\\__init__.py", line 185, in __getattr__
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] return getattr(self.default_settings, name)
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] AttributeError: 'module' object has no attribute 'ROOT_URLCONF' 展开
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] mod_wsgi (pid=3996): Exception occurred processing WSGI script 'E:/DjangoLogin/src/DjangoLogin/djangologin.wsgi'.
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] File "E:\\Python2.7\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 206, in __call__
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] response = self.get_response(request)
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] File "E:\\Python2.7\\lib\\site-packages\\django\\core\\handlers\\base.py", line 81, in get_response
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] urlconf = settings.ROOT_URLCONF
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] File "E:\\Python2.7\\lib\\site-packages\\django\\conf\\__init__.py", line 55, in __getattr__
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] return getattr(self._wrapped, name)
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] File "E:\\Python2.7\\lib\\site-packages\\django\\conf\\__init__.py", line 185, in __getattr__
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] return getattr(self.default_settings, name)
[Sat Jan 03 13:10:26 2015] [error] [client 127.0.0.1] AttributeError: 'module' object has no attribute 'ROOT_URLCONF' 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询