Whoosh全文检索-Django配置
(https://django-haystack.readthedocs.io/en/master/tutorial.html#installation "haystack文档参考")
一. 安装
pip install django-haystack
pip install whoosh
pip install jieba
二. 配置
- 创建一个新的app, 并在app目录下创建
search_indexes.py 名字固定写法
from haystack import indexes
from article.mod