We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 844353e + b6c46dd commit ee08e0fCopy full SHA for ee08e0f
debug_toolbar/panels/sql/panel.py
@@ -149,7 +149,8 @@ def similar_key(query):
149
return query['raw_sql']
150
151
def duplicate_key(query):
152
- return (query['raw_sql'], tuple(query['raw_params']))
+ raw_params = () if query['raw_params'] is None else tuple(query['raw_params'])
153
+ return (query['raw_sql'], raw_params)
154
155
if self._queries:
156
width_ratio_tally = 0
0 commit comments