Adam Wattis
1 min readOct 25, 2017

--

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!

--

--