Prechádzať zdrojové kódy

Merge pull request #1992 from iandees/patch-1

Correct import in security docs
Ask Solem Hoel 11 rokov pred
rodič
commit
bbe8df5cd7
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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::