Store redirect files in cache
This commit is contained in:
parent
ccc9e24e77
commit
b7c18946b2
1 changed files with 4 additions and 0 deletions
|
@ -111,6 +111,10 @@ DATABASES = {"default": env.db(default=f"sqlite:///{BASE_DIR}/db.sqlite3")}
|
||||||
|
|
||||||
CACHES = {"default": env.cache(default="dummycache://")}
|
CACHES = {"default": env.cache(default="dummycache://")}
|
||||||
|
|
||||||
|
# Allow the redirect importer to work in load-balanced / cloud environments.
|
||||||
|
# https://docs.wagtail.io/en/v2.13/reference/settings.html#redirects
|
||||||
|
WAGTAIL_REDIRECTS_FILE_STORAGE = "cache"
|
||||||
|
|
||||||
RQ_QUEUES = {}
|
RQ_QUEUES = {}
|
||||||
|
|
||||||
USE_REDIS_QUEUE = False
|
USE_REDIS_QUEUE = False
|
||||||
|
|
Loading…
Reference in a new issue