mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[1.6.x] Fixed #23955 -- Corrected formset fields in topic guide.
Backport of f0c7a6f36005d489e049236922abe0bd3a3eac2c from master
This commit is contained in:
parent
7e47c3e6af
commit
fdbe038ced
@ -560,9 +560,9 @@ If you manually render fields in the template, you can render
|
|||||||
<form method="post" action="">
|
<form method="post" action="">
|
||||||
{{ formset.management_form }}
|
{{ formset.management_form }}
|
||||||
{% for form in formset %}
|
{% for form in formset %}
|
||||||
{{ form.id }}
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>{{ form.title }}</li>
|
<li>{{ form.title }}</li>
|
||||||
|
<li>{{ form.pub_date }}</li>
|
||||||
{% if formset.can_delete %}
|
{% if formset.can_delete %}
|
||||||
<li>{{ form.DELETE }}</li>
|
<li>{{ form.DELETE }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user