Implement full-text search functionality
This commit is contained in:
parent
46d921c29e
commit
51ec52499f
7 changed files with 229 additions and 7 deletions
|
|
@ -48,6 +48,16 @@
|
|||
<a href="{% url 'twitch:game_list' %}">Games</a> |
|
||||
<a href="{% url 'twitch:org_list' %}">Organizations</a> |
|
||||
<a href="{% url 'twitch:docs_rss' %}">RSS Docs</a> |
|
||||
<form action="{% url 'twitch:search' %}"
|
||||
method="get"
|
||||
style="display: inline">
|
||||
<input type="search"
|
||||
name="q"
|
||||
placeholder="Search..."
|
||||
value="{{ request.GET.q }}">
|
||||
<button type="submit">Search</button>
|
||||
</form>
|
||||
|
|
||||
{% if user.is_authenticated %}
|
||||
<a href="{% url 'twitch:debug' %}">Debug</a> |
|
||||
{% if user.is_staff %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue