Browse Source

Display debug toolbar.

feature/python-error-tracking
Drew Larson 9 years ago
parent
commit
b19c2f7073
  1. 9
      bikeshop_project/bikeshop/settings/development.py

9
bikeshop_project/bikeshop/settings/development.py

@ -45,3 +45,12 @@ LOGGING = {
}
},
}
INSTALLED_APPS += [
'debug_toolbar'
]
# Don't worry about IP addresses, just show the toolbar.
DEBUG_TOOLBAR_CONFIG = {
'SHOW_TOOLBAR_CALLBACK': lambda *args: True
}

Loading…
Cancel
Save