django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configuredYou must either define the environment variable
DJANGO_SETTINGS_MODULE or call settings.configure()我已经在DJANGO_SETTINGS_MODULE中定义了wsgi.py,甚至在脚本中也定义了它。我还尝试使用shell添加
我按照特定的教程在我的应用程序中实现了APScheduler,但是当我运行我的项目时,作业根本没有被调用,而且我很难弄清楚我做错了什么。interval", seconds=10, id="test_mails_001", replace_existing=True )apps.pyDjango version 3.0.5, using settings 'multiten
import djangoin settings.py, asgi.py,但不工作import os
from channels.routing import ProtocolTypeRouter, URLRouterfrom channels.http import AsgiHandler
from a