Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于search #8

Closed
huangxf14 opened this issue Nov 11, 2017 · 0 comments
Closed

关于search #8

huangxf14 opened this issue Nov 11, 2017 · 0 comments

Comments

@huangxf14
Copy link
Collaborator

有两种:

1、对tag的search,目前期望在点下tag后跳转到对应的结果,对应的url为:localhost:8000/tagEE,其中EE为tag名,不同的tag替换一下即可,在template中可直接使用的url name为search_tag,带一个参数即tag name(在上例中为EE)

2、对title、subtitle、holder、intro、content的综合搜索,目前期望在主页有一个搜索框,输入搜索内容用GET传递,对应的url为:localhost:8000/search/?s=xxx,其中xxx为搜索内容,对应的url name为search

@ritou11 ritou11 closed this as completed Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants