mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
Merge pull request #101 from luzfcb/patch-2
update django-debug-toolbar config to fix DeprecationWarning
This commit is contained in:
commit
c413c1e1e0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user