Set the default wagtail search backend explicitly

Resolves MS-544
This commit is contained in:
Ramon Wenger 2022-07-15 17:56:25 +02:00
parent c7cf52c33f
commit 46c5557fe5
1 changed files with 5 additions and 0 deletions

View File

@ -362,6 +362,11 @@ GRAPHENE = {
# http://docs.wagtail.io/en/v2.1/advanced_topics/settings.html?highlight=urls
WAGTAIL_SITE_NAME = 'skillbox'
WAGTAILSEARCH_BACKENDS = {
'default': {
'BACKEND': 'wagtail.search.backends.database',
}
}
GRAPHQL_QUERIES_DIR = os.path.join(BASE_DIR, '..', 'client', 'src', 'graphql', 'gql', 'queries')
GRAPHQL_MUTATIONS_DIR = os.path.join(GRAPHQL_QUERIES_DIR, '../mutations')