Fix unit tests on newer versions of Django Haystack.

Review Request #10491 — Created April 1, 2019 and submitted — Latest diff uploaded

Information

Review Board
release-4.0.x

Reviewers

Newer versions of Django Haystack changed the location of the variable
for retrieving the current signal processor. While the search code
itself is not sensitive to this, the unit tests are.

This change adds a function for retrieving the signal processor,
grabbing it from Haystack's AppConfig (if present) or using the old
location on the haystack module.

Unit tests pass on Django 1.6 and 1.11 (with other in-progress changes).

Commits

Files

    Loading...