79489629

Date: 2025-03-06 14:15:35
Score: 0.5
Natty:
Report link

Within the settings.py file, before the cache settings were encountered, I instantiated a local client which made use of the Django cache API and thus set the cache backend to the default django.core.cache.backends.locmem.LocMemCache.

Moving the cache settings up in the file before the instantiation of the local client allowed the correct django_bmemcached.memcached.BMemcached backend to be set as specified.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Stéphan van Biljon