summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2009-05-07 13:46:16 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2009-05-07 13:46:16 +0000
commit9e7388f88573532e16dee9c2acaffaa4afbdbe20 (patch)
treea9151059a0e583379d09c5627f705c84e24a0991
parentae7d9bfad2c92ebe30ce8ca0a145eba4504312f1 (diff)
Fixed #11026, a small typo in the regroup template tag docstring. Thanks,
mitsuhiko. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10687 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/template/defaulttags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py
index 835b1a9df3..1d8e039a9a 100644
--- a/django/template/defaulttags.py
+++ b/django/template/defaulttags.py
@@ -980,7 +980,7 @@ def regroup(parser, token):
that ``grouper``. In this case, ``grouper`` would be ``Male``, ``Female``
and ``Unknown``, and ``list`` is the list of people with those genders.
- Note that `{% regroup %}`` does not work when the list to be grouped is not
+ Note that ``{% regroup %}`` does not work when the list to be grouped is not
sorted by the key you are grouping by! This means that if your list of
people was not sorted by gender, you'd need to make sure it is sorted
before using it, i.e.::