Django

Code

Ticket #6086: global_settings_locmem.diff

File global_settings_locmem.diff, 452 bytes (added by pbx, 1 year ago)

Patch to make global_settings.py use "locmem" instead of "simple", per Malcolm's comment

  • django/conf/global_settings.py

    old new  
    293293 
    294294# The cache backend to use.  See the docstring in django.core.cache for the 
    295295# possible values. 
    296 CACHE_BACKEND = 'simple://' 
     296CACHE_BACKEND = 'locmem://' 
    297297CACHE_MIDDLEWARE_KEY_PREFIX = '' 
    298298CACHE_MIDDLEWARE_SECONDS = 600 
    299299