它在DEBUG = True模式下运行.有时它会在遇到错误时抛出带有回溯信息的错误消息,但有时它只显示以下行:
Unhandled Exception An unhandled exception was thrown by the application.
我必须切换到开发服务器才能看到详细消息.
如何在遇到错误时始终显示回溯消息?
python django
django ×1
python ×1