Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixed doc, ``query`` is context variable and not in request. #407

Merged
merged 1 commit into from

2 participants

@bmihelac

No description provided.

@bigjust bigjust merged commit 5a15854 into django-haystack:master
@bigjust
Collaborator

lol, wow I am so terribly sorry it took this long to merge this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/templatetags.rst
View
6 docs/templatetags.rst
@@ -26,14 +26,14 @@ Syntax::
Example::
# Highlight summary with default behavior.
- {% highlight result.summary with request.query %}
+ {% highlight result.summary with query %}
# Highlight summary but wrap highlighted words with a div and the
# following CSS class.
- {% highlight result.summary with request.query html_tag "div" class "highlight_me_please" %}
+ {% highlight result.summary with query html_tag "div" class "highlight_me_please" %}
# Highlight summary but only show 40 words.
- {% highlight result.summary with request.query max_length 40 %}
+ {% highlight result.summary with query max_length 40 %}
The highlighter used by this tag can be overridden as needed. See the
:doc:`highlighting` documentation for more information.
Something went wrong with that request. Please try again.