Merge pull request #101 from luzfcb/patch-2

update django-debug-toolbar config to fix DeprecationWarning
This commit is contained in:
Daniel Greenfeld 2014-05-03 09:01:19 -07:00
commit c413c1e1e0

View File

@ -297,7 +297,9 @@ class Local(Common):
INTERNAL_IPS = ('127.0.0.1',)
DEBUG_TOOLBAR_CONFIG = {
'INTERCEPT_REDIRECTS': False,
'DISABLE_PANELS': [
'debug_toolbar.panels.redirects.RedirectsPanel',
],
'SHOW_TEMPLATE_CONTEXT': True,
}
########## end django-debug-toolbar