File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,21 @@ Add ``django_select`` to your URL root configuration:
21
21
# … other patterns
22
22
]
23
23
24
- Finally make sure you have a persistent cache backend setup (NOT
25
- :class: `.DummyCache ` or :class: `.LocMemCache `), we will use Redis in this
26
- example. Make sure you have a Redis server up and running::
24
+
25
+ ``django-select2 `` requires a cache backend which is **persistent **
26
+ across all application servers..
27
+
28
+ **This means that the ** :class: `.DummyCache ` **backend will not work! **
29
+
30
+ The default cache backend is :class: `.LocMemCache `, which is persistent
31
+ across a single node. For projects with a single application server
32
+ this will work fine, however you will run into issues when
33
+ you scale up into multiple servers.
34
+
35
+ Below is an example setup using Redis, which is a solution that
36
+ works for multi-server setups:
37
+
38
+ Make sure you have a Redis server up and running::
27
39
28
40
# Debian
29
41
sudo apt-get install redis-server
You can’t perform that action at this time.
0 commit comments