Python
嫣然幽谷
这个作者很懒,什么都没留下…
展开
-
报错解决RuntimeError: No job with hash xx found. It seems the crontab is out of sync with your settings.
RuntimeError: No job with hash xx found. It seems the crontab is out of sync with your settings.CRONJOBS. Run “python manage.py crontab add” again to resolve this issue!按照网上的django-crontab使用方式,运行指令python manage.py crontab run终端出现如上报错大概是两种问题:1. 日志名称不固定B原创 2020-11-26 19:33:14 · 1108 阅读 · 1 评论 -
报错分析:Requested setting REST_FRAMEWORK, but settings are not configured.
报错分析:Requested setting REST_FRAMEWORK, but settings are not configured.Django使用APSchedule报错:django.core.exceptions.ImproperlyConfigured: Requested setting REST_FRAMEWORK, but settings are not configured. You must either define the environment variable DJA原创 2020-11-26 17:45:13 · 2214 阅读 · 2 评论