Author: lukeplant Date: 2011-11-17 14:00:08 -0800 (Thu, 17 Nov 2011) New Revision: 17103
Modified: django/trunk/docs/ref/templates/builtins.txt Log: Fixed some ReST errors in 'regroup' template tag docs Modified: django/trunk/docs/ref/templates/builtins.txt =================================================================== --- django/trunk/docs/ref/templates/builtins.txt 2011-11-17 21:30:07 UTC (rev 17102) +++ django/trunk/docs/ref/templates/builtins.txt 2011-11-17 22:00:08 UTC (rev 17103) @@ -772,12 +772,17 @@ like this: * Male: + * George Bush * Bill Clinton + * Female: + * Margaret Thatcher * Condoleezza Rice + * Unknown: + * Pat Smith You can use the ``{% regroup %}`` tag to group the list of people by gender. @@ -831,14 +836,23 @@ above would result in the following output: * Male: + * Bill Clinton + * Unknown: + * Pat Smith + * Female: + * Margaret Thatcher + * Male: + * George Bush + * Female: + * Condoleezza Rice The easiest solution to this gotcha is to make sure in your view code that the -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.