[Django]-Celery: running a worker with superuser privileges

-1👍

Using this answer from another SO thread. I added the following settings

app.conf.update(
     CELERY_ACCEPT_CONTENT = ['json'],
     CELERY_TASK_SERIALIZER = 'json',
     CELERY_RESULT_SERIALIZER = 'json', 
)

And it seemed to work.

Leave a comment