Automatically rebuild site indexes in local dev
This commit is contained in:
parent
a0f115fdc4
commit
86c9ac5e7f
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue