阅读背景:

如何在django源代码中记录变量

来源:互联网 

I'm trying to figure out how the framework runs behind the scenes, and have been successful using pdb.set_trace(), and I've been able to log statements to the console, but when I try to import logging and log variables, like so, just as an example (deliberately selecting a string variable):I'm trying to figure out how the framework runs




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: