Hi,

  1. Pass your ElasticSearch host to the create_connection() when you instantiate it like: create_connection(hosts=[‘hostname’])
  2. You should create a view in views.py were you put your query to your ES node, then include that returned data in the context of a response.

Hope this helps!

Javascript developer. Passionate learner.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store