Opened 8 years ago
Closed 8 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.
An additional {{ form.id }} should be included in the example inside the {% for form in formset %} loop.
Note:
See TracTickets
for help on using tickets.
Technically no, since this is the documentation for formsets, not model formsets.