mirror of https://github.com/django/django.git
[1.7.x] Fixed #23955 -- Corrected formset fields in topic guide.
Backport of f0c7a6f360
from master
This commit is contained in:
parent
6ba960266a
commit
58e0d6bdbc
|
@ -631,9 +631,9 @@ If you manually render fields in the template, you can render
|
|||
<form method="post" action="">
|
||||
{{ formset.management_form }}
|
||||
{% for form in formset %}
|
||||
{{ form.id }}
|
||||
<ul>
|
||||
<li>{{ form.title }}</li>
|
||||
<li>{{ form.pub_date }}</li>
|
||||
{% if formset.can_delete %}
|
||||
<li>{{ form.DELETE }}</li>
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue