Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #11026, a small typo in the regroup template tag docstring. Tha…

…nks,

mitsuhiko.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9e7388f88573532e16dee9c2acaffaa4afbdbe20 1 parent ae7d9bf
Jacob Kaplan-Moss authored May 07, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/template/defaulttags.py
2  django/template/defaulttags.py
@@ -980,7 +980,7 @@ def regroup(parser, token):
980 980
     that ``grouper``.  In this case, ``grouper`` would be ``Male``, ``Female``
981 981
     and ``Unknown``, and ``list`` is the list of people with those genders.
982 982
 
983  
-    Note that `{% regroup %}`` does not work when the list to be grouped is not
  983
+    Note that ``{% regroup %}`` does not work when the list to be grouped is not
984 984
     sorted by the key you are grouping by!  This means that if your list of
985 985
     people was not sorted by gender, you'd need to make sure it is sorted
986 986
     before using it, i.e.::

0 notes on commit 9e7388f

Please sign in to comment.
Something went wrong with that request. Please try again.