Ajout d'un profileur de templates
This commit is contained in:
parent
38b59ef246
commit
0f82511bb8
@ -62,6 +62,7 @@ INSTALLED_APPS = [
|
||||
"debug_toolbar",
|
||||
"cache_cleaner",
|
||||
"honeypot",
|
||||
"template_profiler_panel",
|
||||
]
|
||||
|
||||
HONEYPOT_FIELD_NAME = "alias_name"
|
||||
@ -283,3 +284,22 @@ LOGGING = {
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
# debug
|
||||
DEBUG_TOOLBAR_PANELS = [
|
||||
'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.alerts.AlertsPanel',
|
||||
'debug_toolbar.panels.cache.CachePanel',
|
||||
'debug_toolbar.panels.signals.SignalsPanel',
|
||||
'debug_toolbar.panels.redirects.RedirectsPanel',
|
||||
'debug_toolbar.panels.profiling.ProfilingPanel',
|
||||
"template_profiler_panel.panels.template.TemplateProfilerPanel",
|
||||
]
|
||||
|
@ -44,4 +44,5 @@ django-debug-toolbar==4.4.6
|
||||
django-cache-cleaner==0.1.0
|
||||
emoji==2.14.0
|
||||
django-honeypot==1.2.1
|
||||
django-autoslug==1.9.9
|
||||
django-autoslug==1.9.9
|
||||
django-debug-toolbar-template-profiler==2.1.0
|
Loading…
x
Reference in New Issue
Block a user