Ошибка The ‘CELERY_RESULT_BACKEND’ setting is deprecated and scheduled for removal in

Admin Flask Errors

Исправляем ошибку The ‘CELERY_RESULT_BACKEND’ setting is deprecated and scheduled for removal in.

Ошибка

[2020-12-13 00:11:39,942: WARNING/MainProcess] venv/lib/python3.8/site-packages/celery/app/utils.py:204: CDeprecationWarning:
The ‘CELERY_RESULT_BACKEND’ setting is deprecated and scheduled for removal in
version 6.0.0. Use the result_backend instead

deprecated.warn(description=f’The {setting!r} setting’,

[2020-12-13 00:11:39,943: WARNING/MainProcess] Please run `celery upgrade settings path/to/settings.py` to avoid these warnings and to allow a smoother upgrade to Celery 6.0.

Решение

Меняем в файле константу CELERY_RESULT_BACKEND на result_backend

Tagged on:

У сайта нет цели самоокупаться, поэтому на сайте нет рекламы. Но если вам пригодилась информация, можете лайкнуть страницу, оставить комментарий или отправить мне подарок на чашечку кофе.

Добавить комментарий

Write your comment if you have something on the topic of the current article:
"Ошибка The ‘CELERY_RESULT_BACKEND’ setting is deprecated and scheduled for removal in"