VictoRCA Postado Dezembro 16, 2009 Denunciar Share Postado Dezembro 16, 2009 (editado) Traceback (most recent call last): File "C:\Python26\lib\site-packages\django\core\servers\basehttp.py", line 277, in run self.result = application(self.environ, self.start_response) File "C:\Python26\lib\site-packages\django\core\servers\basehttp.py", line 634, in __call__ return self.application(environ, start_response) File "C:\Python26\lib\site-packages\django\core\handlers\wsgi.py", line 239, in __call__ response = self.get_response(request) File "C:\Python26\lib\site-packages\django\core\handlers\base.py", line 67, in get_response response = middleware_method(request) File "C:\Python26\lib\site-packages\django\middleware\common.py", line 57, in process_request urlresolvers.resolve(request.path_info) File "C:\Python26\lib\site-packages\django\core\urlresolvers.py", line 244, in resolve return get_resolver(urlconf).resolve(path) File "C:\Python26\lib\site-packages\django\core\urlresolvers.py", line 180, in resolve sub_match = pattern.resolve(new_path) File "C:\Python26\lib\site-packages\django\core\urlresolvers.py", line 178, in resolve for pattern in self.urlconf_module.urlpatterns: File "C:\Python26\lib\site-packages\django\core\urlresolvers.py", line 197, in _get_urlconf_module self._urlconf_module = __import__(self.urlconf_name, {}, {}, ['']) File "C:\Python26\lib\site-packages\django\contrib\admindocs\urls.py", line 6, in <module> views.doc_index,AttributeError: 'module' object has no attribute 'doc_index'***************************************************************************Ativei a url " (r'^admin/doc', include('django.contrib.admindocs.urls')), "Add o 'django.contrib.admin', no INSTALLED_APPS, e esse erro continua ocorrendo...Se alguém souber o motivo e puder me ajudar.Muito obrigado.Abraço Editado Dezembro 16, 2009 por VictoRCA Citar Link para o comentário Compartilhar em outros sites More sharing options...
Pergunta
VictoRCA
Traceback (most recent call last):
File "C:\Python26\lib\site-packages\django\core\servers\basehttp.py", line 277, in run
self.result = application(self.environ, self.start_response)
File "C:\Python26\lib\site-packages\django\core\servers\basehttp.py", line 634, in __call__
return self.application(environ, start_response)
File "C:\Python26\lib\site-packages\django\core\handlers\wsgi.py", line 239, in __call__
response = self.get_response(request)
File "C:\Python26\lib\site-packages\django\core\handlers\base.py", line 67, in get_response
response = middleware_method(request)
File "C:\Python26\lib\site-packages\django\middleware\common.py", line 57, in process_request
urlresolvers.resolve(request.path_info)
File "C:\Python26\lib\site-packages\django\core\urlresolvers.py", line 244, in resolve
return get_resolver(urlconf).resolve(path)
File "C:\Python26\lib\site-packages\django\core\urlresolvers.py", line 180, in resolve
sub_match = pattern.resolve(new_path)
File "C:\Python26\lib\site-packages\django\core\urlresolvers.py", line 178, in resolve
for pattern in self.urlconf_module.urlpatterns:
File "C:\Python26\lib\site-packages\django\core\urlresolvers.py", line 197, in _get_urlconf_module
self._urlconf_module = __import__(self.urlconf_name, {}, {}, [''])
File "C:\Python26\lib\site-packages\django\contrib\admindocs\urls.py", line 6, in <module>
views.doc_index,
AttributeError: 'module' object has no attribute 'doc_index'
***************************************************************************
Ativei a url " (r'^admin/doc', include('django.contrib.admindocs.urls')), "
Add o 'django.contrib.admin', no INSTALLED_APPS, e esse erro continua ocorrendo...
Se alguém souber o motivo e puder me ajudar.
Muito obrigado.
Abraço
Editado por VictoRCALink para o comentário
Compartilhar em outros sites
0 respostass a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.