Opened 7 years ago

Closed 7 years ago

#27702 closed Bug (invalid)

{{ form.id }} missing in documentation example

Reported by: Hans Fiby Owned by: nobody
Component: Documentation Version: 1.10
Severity: Normal Keywords: example
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The example for "Manually rendered can_delete and can_order" is missing the hidden form.id input element.

https://docs.djangoproject.com/en/1.10/topics/forms/formsets/#manually-rendered-can-delete-and-can-order

An additional {{ form.id }} should be included in the example inside the {% for form in formset %} loop.

Change History (1)

comment:1 by Tim Graham, 7 years ago

Resolution: invalid
Status: newclosed

Technically no, since this is the documentation for formsets, not model formsets.

Note: See TracTickets for help on using tickets.
Back to Top