{% extends 'pages/examples/index.html' %} {% block content %}
{{ form.as_table }}
 
{% if query %}

Search results

{% for result in page.object_list %}

{{ result.object.title }}

{% empty %}

No results found. Did you build the search index? (python manage.py rebuild_index)

{% endfor %} {% else %} {# Show some example queries to run, maybe query syntax, something else? #} {% endif %}
{% endblock %}