From 22a0192497361b8556d29c3575564f138e844b28 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 5 Sep 2022 07:20:30 +0100 Subject: [PATCH] Add debug settings to main config --- app/settings.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/app/settings.py b/app/settings.py index 23f6254..3bdefa0 100644 --- a/app/settings.py +++ b/app/settings.py @@ -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