From 5558341c8c479dc0abaa6c84a88345acdda3f058 Mon Sep 17 00:00:00 2001 From: quark Date: Tue, 27 Aug 2024 19:14:59 +0200 Subject: [PATCH] Change deprecated function --- note_kfet/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/note_kfet/settings/base.py b/note_kfet/settings/base.py index 9c5a9458..8d82f7d4 100644 --- a/note_kfet/settings/base.py +++ b/note_kfet/settings/base.py @@ -240,7 +240,7 @@ DEFAULT_FROM_EMAIL = "NoteKfet2020 <" + SERVER_EMAIL + ">" cache_address = os.getenv("CACHE_ADDRESS", "127.0.0.1:11211") CACHES = { 'default': { - 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', + 'BACKEND': 'django.core.cache.backends.memcached.PyMemcacheCache', 'LOCATION': cache_address, } }