Fix Select2 tag autocomplete failing with multiple gunicorn workers.
All checks were successful
Docker / build (release) Successful in 9s
All checks were successful
Docker / build (release) Successful in 9s
This commit is contained in:
parent
1cdd1dce26
commit
a634cc88bd
1 changed files with 7 additions and 1 deletions
|
|
@ -166,8 +166,14 @@ CACHES = {
|
|||
"default": {
|
||||
"BACKEND": "django.core.cache.backends.locmem.LocMemCache",
|
||||
"LOCATION": "Master",
|
||||
},
|
||||
"select2": {
|
||||
"BACKEND": "django.core.cache.backends.filebased.FileBasedCache",
|
||||
"LOCATION": "/tmp/django_select2_cache",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
SELECT2_CACHE_BACKEND = "select2"
|
||||
|
||||
|
||||
# Password validation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue