Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
KIWI TCMS 在 UI 右侧显示了一个显示工具栏选项。有没有办法使用权限或任何其他方式从 KIWI TCMS 中删除此工具栏而不更改代码?
要删除显示工具栏选项,请更改 tcms/settings/devel.py 设置 DEBUG = False
另一个注意事项:
您正在使用 DEBUG=True 运行,并且很可能还使用./manage.py runserver. 这两种都不推荐。我们推荐的唯一方法是使用 docker 映像,否则我们希望您知道自己在做什么,并能够自己诊断所有可能的问题。
./manage.py runserver