0
如何使活塞返回異常的完全追溯。默認情況下,它只返回我最後一個錯誤文本。像Django活塞使活塞返回異常的完全追溯
id() takes exactly one argument (0 given)
需要知道哪些文件和行...
如何使活塞返回異常的完全追溯。默認情況下,它只返回我最後一個錯誤文本。像Django活塞使活塞返回異常的完全追溯
id() takes exactly one argument (0 given)
需要知道哪些文件和行...
活塞加載通過utils.rc
HTTP狀態響應,沒有錯誤引發。
從文檔:
Configuration variables
Piston is configurable in a couple of ways, which allows more granular
control of some areas without editing the code.
Setting Meaning
settings.PISTON_EMAIL_ERRORS If (when) Piston crashes, it will email the
administrators a backtrace (like the Django one
you see during DEBUG = True)
settings.PISTON_DISPLAY_ERRORS Upon crashing, will display a small backtrace
to the client, including the method signature
expected.
settings.PISTON_STREAM_OUTPUT When enabled, Piston will instruct Django to
stream the output to the client, but please read
streaming before enabling it.