阅读背景:

如何在Django项目的上下文中执行任意脚本?

来源:互联网 

Sometimes I want to execute a file in the context of my Django project, just as if I were using the shell, but with the convenience of using a text editor. This is mainly to try something out, or quickly prototype some functionality before putting it into a view, test, recurring task, or management command. Sometimes I want to execute a file in the conte




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

分享到: