Adam Wattis
1 min readNov 18, 2017

--

Well as the error message is telling you, ‘bulk_indexing’ is not defined in the context that you’re trying to run it in. Meaning: you probably didn’t import the bulk_indexing() function after entering the Django shell.

You should from elasticsearchapp.search import bulk_indexing and then try running bulk_indexing() while in the shell.

--

--