Skip to content

Commit

Permalink
set up wagtailsearch_backends
Browse files Browse the repository at this point in the history
  • Loading branch information
brittkhat committed Dec 9, 2023
1 parent 470bd76 commit e1eb0a1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,13 @@
WAGTAILMENUS_ACTIVE_CLASS = 'current' # used for css in e.g. navigation/header.html
WAGTAILMENUS_ACTIVE_ANCESTOR_CLASS = 'current'

# wagtail search settings
WAGTAILSEARCH_BACKENDS = {
'default': {
'BACKEND': 'wagtail.search.backends.database',
}
}

# Model defaults
DEFAULT_AUTO_FIELD='django.db.models.AutoField'

Expand Down

0 comments on commit e1eb0a1

Please sign in to comment.