开发者

Django search for static parts of the site

I am planning to use Django-Haystack to add a search component to my site. This will take care of the data I have in my models.py. I however also want data which is not in a model, but par开发者_运维知识库t of templates to be searchable. How can I get this.


There is a django app called haystack-static-pages that should help here. It's not been updated for a while so I doubt it will work with haystack 2.0, but I hope this might be of some help to you:

https://github.com/trapeze/haystack-static-pages

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜