-
新版本v1.9.0的settings.py中, 如果redis有密码怎么写。 |
Beta Was this translation helpful? Give feedback.
Answered by
LeoQuote
Aug 11, 2022
Replies: 2 comments 2 replies
-
https://github.com/dpgmediamagazines/django-environ/blob/955aa7b84a793657d5ded2f3c08c0889c7e17ac6/environ/test.py#L468-L472 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
LeoQuote
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/dpgmediamagazines/django-environ/blob/955aa7b84a793657d5ded2f3c08c0889c7e17ac6/environ/test.py#L468-L472
CACHE_URL 环境变量设置成
redis://:[email protected]:6379/0
就可以了