Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.
Thanks Emmanuel Cazenave for the report.
This commit is contained in:
parent
6201141b2c
commit
3f8ee58ccc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue