Python Version: 2.7.6
Django Version: 1.6.4

I installed the debug toolbar = pip install django-debug-toolbar, that's ok.

Add:

INSTALLED_APPS += (
'debug_toolbar',
)

MIDDLEWARE_CLASSES += (
'debug_toolbar.middleware.DebugToolbarMiddleware',
)

INTERNAL_IPS = ('127.0.0.1',)



In execution time happens this error:

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/Aula10/

Django Version: 1.6.4
Python Version: 2.7.6
Installed Applications:
('django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'Aula3',
 'Aula4',
 'Aula5',
 'Aula6',
 'Aula7',
 'Aula8',
 'Aula9',
 'Aula10',
 'Aula11',
 'debug_toolbar')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'debug_toolbar.middleware.DebugToolbarMiddleware')


Traceback:
File "C:\Python27\lib\site-packages\django\core\handlers\base.py" in 
get_response
  201.                 response = middleware_method(request, response)
File "C:\Python27\lib\site-packages\debug_toolbar\middleware.py" in 
process_response
  86.             new_response = panel.process_response(request, response)
File "C:\Python27\lib\site-packages\debug_toolbar\panels\staticfiles.py" in 
process_response
  129.             'staticfiles_finders': self.get_staticfiles_finders(),
File "C:\Python27\lib\site-packages\debug_toolbar\panels\staticfiles.py" in 
get_staticfiles_finders
  140.             for path, finder_storage in finder.list([]):
File "C:\Python27\lib\site-packages\django\contrib\staticfiles\finders.py" 
in list
  106.             for path in utils.get_files(storage, ignore_patterns):
File "C:\Python27\lib\site-packages\django\contrib\staticfiles\utils.py" in 
get_files
  25.     directories, files = storage.listdir(location)
File "C:\Python27\lib\site-packages\django\core\files\storage.py" in listdir
  250.         for entry in os.listdir(path):

Exception Type: WindowsError at /Aula10/
Exception Value: 3 O sistema n�o pode encontrar o caminho especificado




-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a2803a6f-110a-486c-8874-5f1dacc4d48f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to