Change deprecated function

This commit is contained in:
quark 2024-08-27 19:14:59 +02:00
parent 9ccac36831
commit 5558341c8c
1 changed files with 1 additions and 1 deletions

View File

@ -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,
} }
} }