liberation / django-elasticsearch

Simple wrapper around elasticsearch-py to index/search a django Model.
MIT License
212 stars 73 forks source link

Update readme.md #6

Closed PythonicNinja closed 9 years ago

PythonicNinja commented 9 years ago

in code there is: if getattr(settings, 'ELASTICSEARCH_AUTO_INDEX', False) and not getattr(settings, 'DEBUG', False):

lauxley commented 9 years ago

Hi, thanks for pointing this out ! Actually the initial design was to make it defaults to False in a production environment (if debug==False), and True on a dev environment to make for an easier start with the module. But I realise now it's not clear/explicit enough so I'll just make it defaults to False and update the docs.

lauxley commented 9 years ago

Yeah .. i'm not sure exactly what happened but I had to create another pull request couldn't commit in yours for some reason #7