Explorar o código

Merge pull request #1992 from iandees/patch-1

Correct import in security docs
Ask Solem Hoel %!s(int64=11) %!d(string=hai) anos
pai
achega
bbe8df5cd7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/userguide/security.rst

+ 1 - 1
docs/userguide/security.rst

@@ -168,7 +168,7 @@ with the private key and certificate files located in `/etc/ssl`.
     CELERY_SECURITY_KEY = '/etc/ssl/private/worker.key'
     CELERY_SECURITY_CERTIFICATE = '/etc/ssl/certs/worker.pem'
     CELERY_SECURITY_CERT_STORE = '/etc/ssl/certs/*.pem'
-    from celery import setup_security
+    from celery.security import setup_security
     setup_security()
 
 .. note::