我想编写一个使用Django应用程序模型与我的数据库交互的脚本.但是,我希望能够从命令行或通过cron运行此脚本.我需要导入什么才能允许这样做?
python django django-models
django ×1
django-models ×1
python ×1