-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Description
I get the following exception and stack trace on every page I try to view:
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
223. response = middleware_method(request, response)
File "/usr/local/lib/python2.7/dist-packages/debug_toolbar/middleware.py" in process_response
129. panel.generate_stats(request, response)
File "/usr/local/lib/python2.7/dist-packages/debug_toolbar/panels/sql/panel.py" in generate_stats
192. query['sql'] = reformat_sql(query['sql'])
File "/usr/local/lib/python2.7/dist-packages/debug_toolbar/panels/sql/utils.py" in reformat_sql
27. return swap_fields(''.join(stack.run(sql)))
File "/usr/local/lib/python2.7/dist-packages/sqlparse/engine/filter_stack.py" in run
29. stream = filter_.process(stream)
Exception Type: TypeError at /admin/mediasources/document/
Exception Value: process() takes exactly 3 arguments (2 given)
I can workaround by forcing the version to 0.1.19 via
sqlparse==0.1.19
in the requirements file.
sqlparse 0.2.0 was released today
aderugin, gabber7, Alexandre27, loispostula, patlola and 14 moreajithpmohan and Scharfsinnigmadela
Metadata
Metadata
Assignees
Labels
No labels