Ticket #11026: 11026-docfix.patch
File 11026-docfix.patch, 731 bytes (added by , 16 years ago) |
---|
-
django/template/defaulttags.py
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 not983 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.::