Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 921 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 921 Bytes

django-oscar-es

django-oscar-es provides an integration between Django-Oscar and Elasticsearch. It's built on top of django-es-kit, python-elasticsearch-dsl and django-elasticsearch-dsl.

Installation:

pip install django-oscar-es

Add "django_oscar_es.apps.DjangoOscarEsConfig" to your INSTALLED_APPS.

As it leverages django-elasticsearch-dsl under the hood, you must also configure this for it to be able to connect to your elasticsearch instance. As of writing this, that means adding the ELASTICSEARCH_DSL setting, eg:

ELASTICSEARCH_DSL = {
    "default": {
        "hosts": "http://localhost:9200",
    }
}