#9884 closed (fixed)
Incorrect template code in model formset documentation
Reported by: | Brad Montgomery | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | model formset template | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Under the section USING THE FORMSET IN THE TEMPLATE, there are several errors in the template code. The attached diff file addresses the following issues:
- In the Modelforms Documentation template sample code:
- replaced references to
formset.formset
withformset.forms
- replaced references to
- In the template example code to manually render each field:
- fixed a typo in the template code sample
- replaced sample rendering just the field with code to render field labels, the field, and its help_text
Attachments (2)
Change History (5)
by , 16 years ago
Attachment: | modelforms.diff added |
---|
by , 16 years ago
Attachment: | modelforms.2.diff added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 16 years ago
Note:
See TracTickets
for help on using tickets.
correct diff file (from svn diff) please disregard previous file