diff --git a/debug_toolbar/panels/sql/utils.py b/debug_toolbar/panels/sql/utils.py index 3bd31e8a5..c0bd4f4e0 100644 --- a/debug_toolbar/panels/sql/utils.py +++ b/debug_toolbar/panels/sql/utils.py @@ -9,7 +9,7 @@ class BoldKeywordFilter: """sqlparse filter to bold SQL keywords""" - def process(self, stack, stream): + def process(self, stream): """Process the token stream""" for token_type, value in stream: is_keyword = token_type in T.Keyword diff --git a/setup.py b/setup.py index 8db77004d..055abe3e7 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ packages=find_packages(exclude=('tests.*', 'tests', 'example')), install_requires=[ 'Django>=1.8', - 'sqlparse', + 'sqlparse>=0.2.0', ], include_package_data=True, zip_safe=False, # because we're including static files