I was getting "ContentDisallowed: Refusing to deserialize untrusted content of type pickle (application/x-python-serialize)"
having:
CELERY_ACCEPT_CONTENT = ['json']
wasn't enough... I had to also add the followings to settings:
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…