Automatically rebuild site indexes in local dev

This commit is contained in:
Jake Howard 2022-07-28 22:41:11 +01:00
parent a0f115fdc4
commit 86c9ac5e7f
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -153,7 +153,7 @@ WAGTAIL_SITE_NAME = "website"
WAGTAILSEARCH_BACKENDS = { WAGTAILSEARCH_BACKENDS = {
"default": { "default": {
"BACKEND": "wagtail.search.backends.database", "BACKEND": "wagtail.search.backends.database",
"AUTO_UPDATE": False, "AUTO_UPDATE": DEBUG,
"ATOMIC_REBUILD": True, "ATOMIC_REBUILD": True,
} }
} }