Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
internewshid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aptivate
client-projects
internewshid
Commits
91283a75
Commit
91283a75
authored
5 years ago
by
Martin Burchell
Browse files
Options
Downloads
Patches
Plain Diff
Add debug toolbar template timings
parent
ff5e4fd1
No related branches found
Branches containing commit
No related tags found
2 merge requests
!124
Staging
,
!121
Add profiling tools
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Pipfile
+1
-0
1 addition, 0 deletions
Pipfile
Pipfile.lock
+323
-350
323 additions, 350 deletions
Pipfile.lock
internewshid/settings.py
+17
-0
17 additions, 0 deletions
internewshid/settings.py
with
341 additions
and
350 deletions
Pipfile
+
1
−
0
View file @
91283a75
...
@@ -31,6 +31,7 @@ python-dateutil = "*"
...
@@ -31,6 +31,7 @@ python-dateutil = "*"
pytz
=
"*"
pytz
=
"*"
rest-pandas
=
"*"
rest-pandas
=
"*"
pymysql
=
"*"
pymysql
=
"*"
django-debug-toolbar-template-timings
=
"*"
[dev-packages]
[dev-packages]
django-debug-toolbar
=
"*"
django-debug-toolbar
=
"*"
...
...
This diff is collapsed.
Click to expand it.
Pipfile.lock
+
323
−
350
View file @
91283a75
This diff is collapsed.
Click to expand it.
internewshid/settings.py
+
17
−
0
View file @
91283a75
...
@@ -281,8 +281,25 @@ if DEBUG:
...
@@ -281,8 +281,25 @@ if DEBUG:
INSTALLED_APPS
+=
(
INSTALLED_APPS
+=
(
'
django_extensions
'
,
'
django_extensions
'
,
'
debug_toolbar
'
,
'
debug_toolbar
'
,
'
template_timings_panel
'
,
)
)
MIDDLEWARE_CLASSES
+=
(
MIDDLEWARE_CLASSES
+=
(
'
debug_toolbar.middleware.DebugToolbarMiddleware
'
,
'
debug_toolbar.middleware.DebugToolbarMiddleware
'
,
)
)
DEBUG_TOOLBAR_PANELS
=
[
'
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
'
,
'
template_timings_panel.panels.TemplateTimings.TemplateTimings
'
,
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment