mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-02-02 20:54:42 +03:00
List serializer no explicitly renders as 'not supported for HTML input'
This commit is contained in:
parent
c0d356edaa
commit
f573aaee4e
|
@ -5,9 +5,12 @@
|
|||
<legend class="control-label col-sm-2 {% if style.hide_label %}sr-only{% endif %}" style="border-bottom: 0">{{ field.label }}</legend>
|
||||
</div>
|
||||
{% endif %}
|
||||
<!--
|
||||
<ul>
|
||||
{% for child in field.value %}
|
||||
<li>TODO</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
-->
|
||||
<p>Lists are not currently supported in HTML input.</p>
|
||||
</fieldset>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<span>Lists are not currently supported in HTML input.</span>
|
|
@ -4,4 +4,5 @@
|
|||
{% for field_item in field.value.field_items.values() %}
|
||||
{{ renderer.render_field(field_item, layout=layout) }}
|
||||
{% endfor %} -->
|
||||
<p>Lists are not currently supported in HTML input.</p>
|
||||
</fieldset>
|
||||
|
|
Loading…
Reference in New Issue
Block a user