Add backend parameter to Celery initializer

This fixed an error when viewing imports for my setup
This commit is contained in:
Joel Bradshaw 2021-07-02 23:53:42 -07:00
parent 95db2ce867
commit 28a76662fe

View file

@ -9,4 +9,5 @@ os.environ.setdefault("DJANGO_SETTINGS_MODULE", "celerywyrm.settings")
app = Celery(
"tasks",
broker=settings.CELERY_BROKER,
backend=settings.CELERY_RESULT_BACKEND
)