1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#1033: Disable the debug toolbar templates panel by default due to a performance issue under Django 1.11

This commit is contained in:
Jeremy Stretch
2017-04-04 13:44:55 -04:00
parent 409c9c4e23
commit 1dcb0b52e2

View File

@ -218,6 +218,14 @@ REST_FRAMEWORK = {
}
# Django debug toolbar
# Disable the templates panel by default due to a performance issue in Django 1.11; see
# https://github.com/jazzband/django-debug-toolbar/issues/910
DEBUG_TOOLBAR_CONFIG = {
'DISABLE_PANELS': [
'debug_toolbar.panels.redirects.RedirectsPanel',
'debug_toolbar.panels.templates.TemplatesPanel',
],
}
INTERNAL_IPS = (
'127.0.0.1',
'::1',