From 7968bb7fada503b79d8b0e8c92aa076d60c17241 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Fri, 26 Aug 2016 11:37:20 +0200 Subject: [PATCH] Fixed incorrect variable name in {% regroup %} docs. --- docs/ref/templates/builtins.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 46b4ddaa89..1a8fe600ac 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -842,8 +842,8 @@ output (as a string) inside a variable. This is useful if you want to use Regroups a list of alike objects by a common attribute. -This complex tag is best illustrated by way of an example: say that "places" is -a list of cities represented by dictionaries containing ``"name"``, +This complex tag is best illustrated by way of an example: say that ``cities`` +is a list of cities represented by dictionaries containing ``"name"``, ``"population"``, and ``"country"`` keys: .. code-block:: python @@ -882,8 +882,8 @@ The following snippet of template code would accomplish this:: {% for country in country_list %}
  • {{ country.grouper }}