celery-django can't find settings

后端 未结 2 813
醉话见心
醉话见心 2021-02-07 18:01

I have a Django project that uses Celery for running asynchronous tasks. I\'m doing my development on a Windows XP machine.

Starting my Django server (python mana

2条回答
  •  耶瑟儿~
    2021-02-07 18:43

    sys.path must include 'C:\development\SpaceCorps' not 'C:\development\SpaceCorps\src', because he is looking for src.settings, not just settings.

提交回复
热议问题