Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Django Esutils.

Project description

Django ESUtils
==============

Common and easy way to manage ES backend in django based on elasticutils and
elasticsearch-py.

Hacking
-------

In order to hack on django-esutils, you'll need to set at least an Elasticsearch
instance available from your machine.

You can install it manually or more simply, use a docker container like this::

docker run --net host dockerfile/elasticsearch

and then you can browse your ES server at: http://127.0.0.1:9200/

Configuration
~~~~~~~~~~~~~

add a :file:`local_settings.py` file in your :file:`demo/demo_esutils` directory,
with these settings:

.. code-block:: python

ES_URLS = [
'http://127.0.0.1:9200',
]

(or change it to fit your ES target configuration)

Running tests
~~~~~~~~~~~~~


Now that your ES instance is ready, and your database connection set, simply run
the tests using tox, preferrably in a virtualenv::

mkvirtualenv TOX
pip install tox
tox

Project details


Download files

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

Files for django-esutils, version 0.3
Filename, size File type Python version Upload date Hashes
Filename, size django-esutils-0.3.zip (12.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page