Ticket #11026: 11026-docfix.patch

File 11026-docfix.patch, 731 bytes (added by Armin Ronacher, 16 years ago)
  • django/template/defaulttags.py

     
    980980    that ``grouper``.  In this case, ``grouper`` would be ``Male``, ``Female``
    981981    and ``Unknown``, and ``list`` is the list of people with those genders.
    982982
    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
    984984    sorted by the key you are grouping by!  This means that if your list of
    985985    people was not sorted by gender, you'd need to make sure it is sorted
    986986    before using it, i.e.::
Back to Top