Skip to content

Commit d176291

Browse files
committed
fix: Allow overriding Memcached URL
1 parent bbb1cde commit d176291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
CACHES = {
226226
"default": {
227227
"BACKEND": "django.core.cache.backends.memcached.PyMemcacheCache",
228-
"LOCATION": "127.0.0.1:11211",
228+
"LOCATION": os.getenv("MEMCACHED_URL", "127.0.0.1:11211"),
229229
}
230230
}
231231

0 commit comments

Comments
 (0)