{"action":"closed","issue":{"url":"https://api.github.com/repos/LPgenerator/django-db-mailer/issues/120","repository_url":"https://api.github.com/repos/LPgenerator/django-db-mailer","labels_url":"https://api.github.com/repos/LPgenerator/django-db-mailer/issues/120/labels{/name}","comments_url":"https://api.github.com/repos/LPgenerator/django-db-mailer/issues/120/comments","events_url":"https://api.github.com/repos/LPgenerator/django-db-mailer/issues/120/events","html_url":"https://github.com/LPgenerator/django-db-mailer/issues/120","id":364780382,"node_id":"MDU6SXNzdWUzNjQ3ODAzODI=","number":120,"title":"deserialize for queue","user":{"login":"qari","id":1835807,"node_id":"MDQ6VXNlcjE4MzU4MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/1835807?v=4","gravatar_id":"","url":"https://api.github.com/users/qari","html_url":"https://github.com/qari","followers_url":"https://api.github.com/users/qari/followers","following_url":"https://api.github.com/users/qari/following{/other_user}","gists_url":"https://api.github.com/users/qari/gists{/gist_id}","starred_url":"https://api.github.com/users/qari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qari/subscriptions","organizations_url":"https://api.github.com/users/qari/orgs","repos_url":"https://api.github.com/users/qari/repos","events_url":"https://api.github.com/users/qari/events{/privacy}","received_events_url":"https://api.github.com/users/qari/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-28T07:55:49Z","updated_at":"2018-09-28T09:14:38Z","closed_at":"2018-09-28T09:14:38Z","author_association":"NONE","body":"I have project with config celery as here [http://docs.celeryproject.org/en/latest/django/first-steps-with-django.html](url)\r\n\r\n`\r\nBROKER_URL = 'redis://redis:6379'\r\nCELERY_RESULT_BACKEND = 'redis://redis:6379'\r\nCELERY_ACCEPT_CONTENT = ['application/json']\r\nCELERY_TASK_SERIALIZER = 'pickle'\r\nCELERY_RESULT_SERIALIZER = 'json'\r\nCELERY_IGNORE_RESULT = True\r\nCELERY_TIMEZONE = TIME_ZONE\r\nCELERY_ACKS_LATE = True\r\nCELERYD_PREFETCH_MULTIPLIER = 1\r\n\r\nfrom kombu import Exchange, Queue, binding\r\nfrom kombu.serialization import registry\r\nregistry.enable('pickle')\r\n\r\nCELERY_QUEUES = (\r\n    Queue('high', Exchange('high'), routing_key='high'),\r\n    Queue('normal', Exchange('normal'), routing_key='normal'),\r\n    Queue('low', Exchange('low'), routing_key='low'),\r\n)\r\n\r\nCELERY_DEFAULT_QUEUE = 'normal'\r\nCELERY_DEFAULT_EXCHANGE = 'normal'\r\nCELERY_DEFAULT_ROUTING_KEY = 'normal'\r\n\r\nCELERYBEAT_SCHEDULE = {}\r\nCELERY_ROUTES = {}\r\n`\r\n\r\nbut when I send task to any Queue I have next error\r\n\r\n\r\n> kombu.exceptions.ContentDisallowed: Refusing to deserialize untrusted content of type pickle (application/x-python-serialize)\r\n> [2018-09-28 07:45:07,599: WARNING/MainProcess] Restoring 1 unacknowledged message(s)\r\n> \r\n\r\nI can't understand what fix it? Maybe my config is not correct. I don't  use djcelery\r\n"}}
{"actor":{"display_login":"qari"}}