• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

torchbox / wagtail / 7071 / 5
96%
master: 96%

Build:
DEFAULT BRANCH: master
Ran 04 Jul 2016 08:09PM UTC
Files 426
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Jul 2016 07:40PM UTC coverage: 94.168% (+0.005%) from 94.163%
TOXENV=py35-dj18-postgres-noelasticsearch

push

travis-ci

gasman
Make sure the default search backend is always defined

It's common in Wagtail to want to quickly override the base search settings to disable Elasticsearch in specific environments (eg CI or running imports).

To do this, you have to manually write out Wagtail's default search configuration.

This commit changes the way the default configuration is loaded, it is now loaded whenever there is no "default" backend configured rather than only loading if the ``WAGTAILSEARCH_BACKENDS`` was not defined at all.

To override a parent settings file's search backends configuration, you can now just do:

WAGTAILSEARCH_BACKENDS = {}

And the defaults will be restored

25752 of 27347 relevant lines covered (94.17%)

0.94 hits per line

Source Files on job 7071.5 (TOXENV=py35-dj18-postgres-noelasticsearch)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 7071
  • Travis Job 7071.5
  • f1913bd7 on github
  • Prev Job for TOXENV=py35-dj18-postgres-noelasticsearch on master (#7070.5)
  • Next Job for TOXENV=py35-dj18-postgres-noelasticsearch on master (#7072.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc