#24212 closed Bug (fixed)
Documentation for pylibmc cache backend needs additional info
Reported by: | Jay Hargis | Owned by: | Bryan Marty |
---|---|---|---|
Component: | Documentation | Version: | 1.7 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Looking at the docs you'd assume that this would work for socket connections to memcached via pylibmc..
CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', 'LOCATION': 'unix:/tmp/memcached.sock', } }
but it doesn't unless you drop the unix prefix
CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.PyLibMCCache', 'LOCATION': '/tmp/memcached.sock', } }
Searching the web there is very little mention of this. Would be helpful to see the distinction in the docs.
Change History (8)
comment:1 by , 10 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Type: | Uncategorized → Bug |
comment:2 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 9 years ago
Has patch: | set |
---|
Diff:
https://github.com/bxm156/django/commit/f1c5238266981a59d71b49e1e0ce6f7f9acf8faf
Created a pull request:
https://github.com/django/django/pull/5515
Note:
See TracTickets
for help on using tickets.
If you could draft a patch, I'll be happy to review it.