소스 검색

Merge pull request #1992 from iandees/patch-1

Correct import in security docs
Ask Solem Hoel 11 년 전
부모
커밋
bbe8df5cd7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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::