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

Thanks Emmanuel Cazenave for the report.
This commit is contained in:
Daria Kolodzey 2019-08-31 11:58:41 +03:00 committed by Mariusz Felisiak
parent 6201141b2c
commit 3f8ee58ccc
1 changed files with 1 additions and 1 deletions

View File

@ -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