如何删除金字塔调试工具B

2024-05-23 23:47:08 发布

您现在位置:Python中文网/ 问答频道 /正文

我按照建议从development.ini文件中删除了pyramid_debugtoolbar的行,但它仍然显示出来。在

如何禁用它?在


Tags: 文件pyramidini建议developmentdebugtoolbar
1条回答
网友
1楼 · 发布于 2024-05-23 23:47:08

引用链接的来源:

When you want to disable this toolbar, there's no need to change code: you can remove it from pyramid.includes in the relevant .ini configuration file

因此,如果您删除了development.ini中的第3-4行,然后像以前一样停止并重新启动应用程序,那么工具栏将不再出现。在

相关问题 更多 >