Python 3.7.0,django 3.0.3,django-background-tasks 1.2.5 (使用Anaconda环境)
我试着像这里解释的那样使用django-background-tasks,但是当我将'background_task‘添加到INSTALLED_APPS中时,当我运行python manage.py migrate时,我得到"ModuleNotFoundError:没有名为’background-task‘的模块“
发布于 2020-06-01 19:31:58
是我的错。这个包被称为"background_task“,而不是”后台任务“。
发布于 2021-01-30 04:52:58
你需要安装django-后台-任务:pip install django-background-tasks
沿着this link行驶。
https://stackoverflow.com/questions/62130996
复制相似问题