Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

lambda the callback

  • Loading branch information...
commit 8d2205648f5b87ef60846eb6d9b7b77f341ea543 1 parent 2dd435c
@robhudson authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 settings_test.py
View
5 settings_test.py
@@ -90,12 +90,9 @@ def _polite_tmpdir():
# html tests.
-def custom_show_toolbar(request):
- return False
-
DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': False,
- 'SHOW_TOOLBAR_CALLBACK': custom_show_toolbar,
+ 'SHOW_TOOLBAR_CALLBACK': lambda r: False,
'HIDE_DJANGO_SQL': True,
'TAG': 'div',
'ENABLE_STACKTRACES': False,
Please sign in to comment.
Something went wrong with that request. Please try again.