Просмотр исходного кода

Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.

Thanks Emmanuel Cazenave for the report.
Daria Kolodzey 5 лет назад
Родитель
Сommit
3f8ee58ccc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docs/ref/forms/widgets.txt

+ 1 - 1
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