mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-11 16:53:10 +00:00
Disables AUTO_UPDATE in PostgreSQL test for speed.
This commit is contained in:
parent
420f721631
commit
d187bf4c75
1 changed files with 1 additions and 0 deletions
|
|
@ -170,6 +170,7 @@ if os.environ.get('DATABASE_ENGINE') == 'django.db.backends.postgresql':
|
|||
INSTALLED_APPS += ('wagtail.contrib.postgres_search',)
|
||||
WAGTAILSEARCH_BACKENDS['postgresql'] = {
|
||||
'BACKEND': 'wagtail.contrib.postgres_search.backend',
|
||||
'AUTO_UPDATE': False,
|
||||
}
|
||||
|
||||
if 'ELASTICSEARCH_URL' in os.environ:
|
||||
|
|
|
|||
Loading…
Reference in a new issue