Revolution1 / Flask-WhooshAlchemyPlus

Whoosh indexing capabilities for Flask-SQLAlchemy, Flask-WhooshAlchemy plus some improvement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add instructions about config SQLALCHEMY_TRACK_MODIFICATIONS in README

mrchi opened this issue · comments

commented

If set SQLALCHEMY_TRACK_MODIFICATIONS to False, the models_committed signal is disabled. The whoosh index won't update when model changes.

I advise on adding instructions in README. If users want update whoosh index automatically, they should check SQLALCHEMY_TRACK_MODIFICATIONS=True configuration.

If set SQLALCHEMY_TRACK_MODIFICATIONS to False, the models_committed signal is disabled. The whoosh index won't update when model changes.

I advise on adding instructions in README. If users want update whoosh index automatically, they should check SQLALCHEMY_TRACK_MODIFICATIONS=True configuration.

Thank you for this. Had to realize it the hard way. This should be in the README +1 ... I don't think the repo is maintained though