2
django 프로젝트의 이름이 "app"인 경우 셀러리 명령 줄을 실행할 수 있습니까?django 프로젝트의 이름이 "app"인 셀러리 명령 줄 오류
장고 응용 프로그램 구조 :
|- app
| |- __init__.py
| |- settings.py
| |- celery.py
|- manage.py
__init__.py
및 celery.py
은 문서에 따라 설정됩니다 : 나는 celery --app=app.celery:app worker
을 실행할 때 http://docs.celeryproject.org/en/master/django/first-steps-with-django.html
나는 다음과 같은 오류 ImportError: No module named celery
를 얻을. "app"의 이름을 다른 것으로 바꾸면이 오류가 나타나지 않지만이를 수행하지 않는 것이 좋습니다.