Explorar el Código

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

Thanks Emmanuel Cazenave for the report.
Daria Kolodzey hace 5 años
padre
commit
3f8ee58ccc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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