mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue