[2.2.x] Fixed #30738 -- Fixed typo in docs/ref/forms/widgets.txt.
Thanks Emmanuel Cazenave for the report.
Backport of 3f8ee58ccc
from master
This commit is contained in:
parent
16e5e8ff5a
commit
11cdfb3408
|
@ -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