Add debug settings to main config

This commit is contained in:
Mark Veidemanis 2022-09-05 07:20:30 +01:00
parent ad4d24b3a0
commit 22a0192497
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 20 additions and 0 deletions

View File

@ -145,6 +145,26 @@ REST_FRAMEWORK = {
INTERNAL_IPS = [
"127.0.0.1",
"10.1.1.101",
"10.1.1.102",
]
DEBUG_TOOLBAR_PANELS = [
'template_profiler_panel.panels.template.TemplateProfilerPanel',
'debug_toolbar.panels.history.HistoryPanel',
'debug_toolbar.panels.versions.VersionsPanel',
'debug_toolbar.panels.timer.TimerPanel',
'debug_toolbar.panels.settings.SettingsPanel',
'debug_toolbar.panels.headers.HeadersPanel',
'debug_toolbar.panels.request.RequestPanel',
'debug_toolbar.panels.sql.SQLPanel',
'debug_toolbar.panels.staticfiles.StaticFilesPanel',
'debug_toolbar.panels.templates.TemplatesPanel',
'debug_toolbar.panels.cache.CachePanel',
'debug_toolbar.panels.signals.SignalsPanel',
'debug_toolbar.panels.logging.LoggingPanel',
'debug_toolbar.panels.redirects.RedirectsPanel',
'debug_toolbar.panels.profiling.ProfilingPanel',
]
from app.local_settings import * # noqa