Passing username to redis arguments#657
Passing username to redis arguments#657joachimBurket wants to merge 5 commits intojazzband:masterfrom
Conversation
WisdomPill
left a comment
There was a problem hiding this comment.
thanks for the contribution! it would be nice to have a test for this and a change log file
| CACHES = { | ||
| "default": { | ||
| "BACKEND": "django_redis.cache.RedisCache", | ||
| "LOCATION": "redis://django@localhost:6379/0", |
There was a problem hiding this comment.
I would keep both examples if they work
There was a problem hiding this comment.
I merged the example in which the username is passed in the URL and the password in the OPTIONS with the example of a URL unsafe password, because I thought it was redundant. Tell me if it suits you as done in 039432c
|
I added the changelog and a test. I wasn't sure where to test the connection params so I renamed the |
|
ping ;) |
|
I would love to have tests to connect to a server with credentials |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #657 +/- ##
========================================
- Coverage 57.5% 56.3% -1.1%
========================================
Files 39 39
Lines 2528 2546 +18
Branches 75 74 -1
========================================
- Hits 1452 1432 -20
- Misses 1059 1097 +38
Partials 17 17
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
I would really like to see this make it into a release, I can help get it over the line if help is needed. |
|
Yeaaaah it's been a while sorry 😅 |
resolves #656