celery报错

老师说一天要写一万以上的代码,我感觉我的肯定没有的,怎么办啊
慌了

C:\Users\Administrator\PycharmProjects\day09>python manage.py runserver
Traceback (most recent call last):
  File "manage.py", line 22, in <module>
    main()
  File "manage.py", line 18, in main
    execute_from_command_line(sys.argv)
  File "D:\Program Files (x86)\Python38\lib\site-packages\django\core\management\__init__.py", line 401, in execute_from_command_line
    utility.execute()
  File "D:\Program Files (x86)\Python38\lib\site-packages\django\core\management\__init__.py", line 345, in execute
    settings.INSTALLED_APPS
  File "D:\Program Files (x86)\Python38\lib\site-packages\django\conf\__init__.py", line 83, in __getattr__
    self._setup(name)
  File "D:\Program Files (x86)\Python38\lib\site-packages\django\conf\__init__.py", line 70, in _setup
    self._wrapped = Settings(settings_module)
  File "D:\Program Files (x86)\Python38\lib\site-packages\django\conf\__init__.py", line 177, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "D:\Program Files (x86)\Python38\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "C:\Users\Administrator\PycharmProjects\day09\day09\settings.py", line 161, in <module>
    "schedule": crontab(minute="05", how="16"),
  File "D:\Program Files (x86)\Python38\lib\site-packages\celery\schedules.py", line 405, in __init__
    super().__init__(**kwargs)
TypeError: __init__() got an unexpected keyword argument 'how'

C:\Users\Administrator\PycharmProjects\day09>


不知道报的是什么错误,先搁着,待以后解决吧
今天吃的太饱,好像喝铁观音,却不敢喝

©️2020 CSDN 皮肤主题: 1024 设计师:上身试试 返回首页