Skip to main content

An extension to django CMS to provide multilingual Haystack indexes (fork)

Project description

Details:

This package has been forked to work with current django-haystack 2.0, thanks to the various patches and branches available that got most of this done.

This module been renamed to a more consistant name for cmsplugins and uploaded to pypi so more people can use haystack 2.0 by Martin Owens <doctormo@gmail.com>

This package provides multilingual search indexes for easy Haystack integration with django CMS.

Language Notes:

Instead of indexing each language as a seperate index, all pages/titles are indexed you can then either search for all pages with any language or use a filter with a custom SearchView class with an updated SearchQuerySet:

class SearchView(BaseView):
def __call__(self, request):
language = get_language_from_request(request) self.searchqueryset = SearchQuerySet().filter(language=language) return BaseView.__call__(self, request)

Usage

After installing django-cms-search through your package manager of choice, add cms_search to your INSTALLED_APPS

For setting up Haystack, please refer to their documentation.

For more docs, see the docs folder or the online documentation.

Project details


Release history Release notifications

This version
History Node

0.7.3

History Node

0.7.2

History Node

0.7.1

History Node

0.6.5

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cmsplugin-search-0.7.3.tar.gz (24.2 kB) Copy SHA256 hash SHA256 Source None Sep 4, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page