mirror of https://gitlab.crans.org/bde/nk20
Compare commits
1 Commits
842568f085
...
55313f5fa5
Author | SHA1 | Date |
---|---|---|
Otthorn | 55313f5fa5 |
|
@ -240,7 +240,7 @@ DEFAULT_FROM_EMAIL = "NoteKfet2020 <" + SERVER_EMAIL + ">"
|
||||||
cache_address = os.getenv("CACHE_ADDRESS", "127.0.0.1:11211")
|
cache_address = os.getenv("CACHE_ADDRESS", "127.0.0.1:11211")
|
||||||
CACHES = {
|
CACHES = {
|
||||||
'default': {
|
'default': {
|
||||||
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
|
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
|
||||||
'LOCATION': cache_address,
|
'LOCATION': cache_address,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue