mirror of https://gitlab.crans.org/bde/nk20
Merge branch 'food_traceability' into 'main'
Change deprecated function See merge request bde/nk20!264
This commit is contained in:
commit
bd94400883
|
@ -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.MemcachedCache',
|
'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache',
|
||||||
'LOCATION': cache_address,
|
'LOCATION': cache_address,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue