Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#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 with formset.forms
  • 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)

modelforms.diff (385 bytes ) - added by Brad Montgomery 16 years ago.
modelforms.2.diff (900 bytes ) - added by Brad Montgomery 16 years ago.
correct diff file (from svn diff) please disregard previous file

Download all attachments as: .zip

Change History (5)

by Brad Montgomery, 16 years ago

Attachment: modelforms.diff added

by Brad Montgomery, 16 years ago

Attachment: modelforms.2.diff added

correct diff file (from svn diff) please disregard previous file

comment:1 by Gary Wilson, 16 years ago

Resolution: fixed
Status: newclosed

(In [9676]) Fixed #9884 -- Corrected template example in model forms documentation, thanks bradmontgomery.

comment:2 by Gary Wilson, 16 years ago

(In [9677]) [1.0.X] Fixed #9884 -- Corrected template example in model forms documentation, thanks bradmontgomery.

Backport of r9676 from trunk.

comment:3 by (none), 16 years ago

milestone: post-1.0

Milestone post-1.0 deleted

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