📜  django 从代码运行命令 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:11.851000             🧑  作者: Mango

代码示例2
from django.core.management import call_command
call_command('my_command', 'foo', bar='baz')