Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
f14dde905818
Commit
e7b35ba4
authored
Jul 31, 2019
by
Laurent Peuch
Browse files
[pyramid/ctl/debugtoolbar] automatically include custom panels on -t
parent
10b8352b0208
Changes
1
Hide whitespace changes
Inline
Side-by-side
cubicweb/pyramid/__init__.py
View file @
f14dde90
...
...
@@ -74,6 +74,9 @@ def settings_from_cwconfig(cwconfig, debugtoolbar=False):
'pyramid.reload_templates'
:
True
,
})
if
debugtoolbar
:
settings
[
"debugtoolbar.includes"
]
=
[
"cubicweb.pyramid.debugtoolbar_panels"
]
for
fname
in
settings_filenames
:
if
os
.
path
.
exists
(
fname
):
cp
=
ConfigParser
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment