Skip to content

Commit

Permalink
Merge pull request #1373 from ubyssey/wagtail-3.0-search-function-update
Browse files Browse the repository at this point in the history
set up wagtailsearch_backends
  • Loading branch information
brittkhat authored Dec 9, 2023
2 parents 470bd76 + e1eb0a1 commit 86d17b7
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 86d17b7

Please sign in to comment.