django-debug-toolbar/django-debug-toolbar — Issue #261: python 2.5 compatibility ('unicode' object has no attribute 'format')
Author: etarasenko
Created: 2012-02-16 07:42:45+00:00
State: open

`Traceback (most recent call last):
File "/home/etarasenko/projects/frobbit/env/lib/python2.5/site-packages/django/core/servers/basehttp.py", line 280, in run
self.result = application(self.environ, self.start_response)
File "/home/etarasenko/projects/frobbit/env/lib/python2.5/site-packages/django/core/servers/basehttp.py", line 674, in __call__
return self.application(environ, start_response)
File "/home/etarasenko/projects/frobbit/env/lib/python2.5/site-packages/django/core/handlers/wsgi.py", line 245, in __call__
response = middleware_method(request, response)
File "/home/etarasenko/projects/frobbit/env/lib/python2.5/site-packages/debug_toolbar/middleware.py", line 129, in process_response
panel.process_response(request, response)
File "/home/etarasenko/projects/frobbit/env/lib/python2.5/site-packages/debug_toolbar/panels/sql.py", line 197, in process_response
stacktrace.append(u'{0}/{1} in {3}({2})\n {4}'.format(*params))
AttributeError: 'unicode' object has no attribute 'format'
`