From 3f8ee58ccc5c55e62625ad797ddde05778fe1bec Mon Sep 17 00:00:00 2001 From: Daria Kolodzey Date: Sat, 31 Aug 2019 11:58:41 +0300 Subject: [PATCH] Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt. Thanks Emmanuel Cazenave for the report. --- docs/ref/forms/widgets.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ref/forms/widgets.txt b/docs/ref/forms/widgets.txt index 0e701babeb..d649ece6ba 100644 --- a/docs/ref/forms/widgets.txt +++ b/docs/ref/forms/widgets.txt @@ -401,7 +401,7 @@ foundation for custom widgets. .. code-block:: html+django {% for subwidget in widget.subwidgets %} - {% include widget.template_name with widget=subwidget %} + {% include subwidget.template_name with widget=subwidget %} {% endfor %} Here's an example widget which subclasses :class:`MultiWidget` to display