原文:django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not解決辦法

關於django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED APPS, but settings are not的解決辦法: 轉載注明出處:https: www.cnblogs.com Songjunxiang p .html ...

2020-10-31 09:42 0 387 推薦指數:

查看詳情

celery開啟worker報錯django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either

其實挺簡單的問題,但花了自己一個下午來解決,先是瀏覽各種博客,無果;沒辦法,然后去看celery官方文檔,無果,近乎絕望,最后仔細看代碼,找到問題所在(如下),自學狗這效率。。。。。。 下面是自己task.py中的代碼 當使用celery ...

Thu Jun 27 04:09:00 CST 2019 0 2127
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM