Skip to content

6.2.0

Choose a tag to compare

@juanmitaboada juanmitaboada released this 15 Oct 10:31
· 12 commits to master since this release
v6.2.0
1c5c350
  • codenerix.contrib and its haystack_engines module (AsciifoldingElasticSearchEngine, AsciifoldingElasticBackend). Projects that set 'ENGINE': 'codenerix.contrib.haystack_engines.AsciifoldingElasticSearchEngine' in HAYSTACK_CONNECTIONS get an ImportError when Haystack loads its connections: copy the class into the project, or use Haystack's own haystack.backends.elasticsearch7_backend.Elasticsearch7SearchEngine. - elasticsearch is no longer a dependency.

  • django-haystack is no longer a dependency: it moves to the optional extra haystack. Views with haystack = True need pip install django-codenerix[haystack] (or django-haystack in the project's own dependencies) plus the search backend the project uses; without it, get_queryset() raises ImproperlyConfigured naming the view. Projects that relied on django-codenerix pulling in django-haystack or elasticsearch transitively must now list them themselves.