Permalink
Browse files

Merge pull request #407 from bmihelac/patch-1

Fixed doc, ``query`` is context variable and not in request.
  • Loading branch information...
2 parents ab9ed94 + eab727e commit 5a15854be91b51e92d8336cce282ceaae74fec0b @bigjust bigjust committed Jul 29, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/templatetags.rst
View
@@ -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.

0 comments on commit 5a15854

Please sign in to comment.