voici l'erreur qu'affiche http://localhost:8000/static/img/logo.png:
[CODE]
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\django\core\servers\basehttp.py",
line 283, in run
self.result = application(self.environ, self.start_response)
File
"C:\Python27\lib\site-packages\django\contrib\staticfiles\handlers.py",
line 69, in __call__
return super(StaticFilesHandler, self).__call__(environ,
start_response)
File "C:\Python27\lib\site-packages\django\core\handlers\wsgi.py", line
272, in __call__
response = self.get_response(request)
File
"C:\Python27\lib\site-packages\django\contrib\staticfiles\handlers.py",
line 59, in get_response
return self.serve(request)
File
"C:\Python27\lib\site-packages\django\contrib\staticfiles\handlers.py",
line 52, in serve
return serve(request, self.file_path(request.path), insecure=True)
File
"C:\Python27\lib\site-packages\django\contrib\staticfiles\views.py", line
35, in serve
absolute_path = finders.find(normalized_path)
File
"C:\Python27\lib\site-packages\django\contrib\staticfiles\finders.py", line
228, in find
for finder in get_finders():
File
"C:\Python27\lib\site-packages\django\contrib\staticfiles\finders.py", line
242, in get_finders
yield get_finder(finder_path)
File "C:\Python27\lib\site-packages\django\utils\functional.py", line
124, in wrapper
result = func(*args)
File
"C:\Python27\lib\site-packages\django\contrib\staticfiles\finders.py", line
263, in _get_finder
return Finder()
File
"C:\Python27\lib\site-packages\django\contrib\staticfiles\finders.py", line
52, in __init__
"Your STATICFILES_DIRS setting is not a tuple or list; "
ImproperlyConfigured: Your STATICFILES_DIRS setting is not a tuple or
list; perhaps you forgot a trailing comma?
[/CODE]
_______________________________________________
django mailing list
[email protected]
http://lists.afpy.org/mailman/listinfo/django