소스 검색

documentation update - CELERY_RESULT_SERIALIZER

Tom S 10 년 전
부모
커밋
25680a39f0
1개의 변경된 파일8개의 추가작업 그리고 5개의 파일을 삭제
  1. 8 5
      docs/faq.rst

+ 8 - 5
docs/faq.rst

@@ -459,14 +459,17 @@ It is essential that you protect against unauthorized
 access to your broker, databases and other services transmitting pickled
 access to your broker, databases and other services transmitting pickled
 data.
 data.
 
 
-For the task messages you can set the :setting:`CELERY_TASK_SERIALIZER`
-setting to "json" or "yaml" instead of pickle. There is
-currently no alternative solution for task results (but writing a
-custom result backend using JSON is a simple task)
-
 Note that this is not just something you should be aware of with Celery, for
 Note that this is not just something you should be aware of with Celery, for
 example also Django uses pickle for its cache client.
 example also Django uses pickle for its cache client.
 
 
+For the task messages you can set the :setting:`CELERY_TASK_SERIALIZER`
+setting to "json" or "yaml" instead of pickle.
+
+Similarly for task results you can set :setting:`CELERY_RESULT_SERIALIZER`.
+
+For more details of the formats used and the lookup order when
+checking which format to use for a task see :ref:`calling-serializers`
+
 Can messages be encrypted?
 Can messages be encrypted?
 --------------------------
 --------------------------