Browse Source

Adds note about ACCEPT_CONTENT

Ask Solem 11 years ago
parent
commit
07d7db25de
1 changed files with 8 additions and 0 deletions
  1. 8 0
      docs/userguide/security.rst

+ 8 - 0
docs/userguide/security.rst

@@ -104,6 +104,14 @@ You can disable untrusted content by specifying
 a whitelist of accepted content-types in the :setting:`CELERY_ACCEPT_CONTENT`
 setting:
 
+.. versionadded:: 3.0.18
+
+.. note::
+
+    This setting was first supported in version 3.0.18. If you're
+    running an earlier version it will simply be ignored, so make
+    sure you're running a version that supports it.
+
 .. code-block:: python
 
     CELERY_ACCEPT_CONTENT = ['json']