{% load i18n highlight %} {% for result in page_obj.object_list %}
{{ result.title }} {% highlight result.text with request.GET.q %}