In debug_toolbar/panels/sql.py on line 195 (as at bf39bb03a0777505f1fb) the str.format method, which was introduced in Python 2.6.