Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#9884 closed (fixed)

Incorrect template code in model formset documentation

Reported by: bradmontgomery Owned by: nobody
Component: Documentation Version: master
Severity: Keywords: model formset template
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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 bradmontgomery 7 years ago.
modelforms.2.diff (900 bytes) - added by bradmontgomery 7 years ago.
correct diff file (from svn diff) please disregard previous file

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by bradmontgomery

Changed 7 years ago by bradmontgomery

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

comment:1 Changed 7 years ago by gwilson

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 7 years ago by gwilson

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

Backport of r9676 from trunk.

comment:3 Changed 6 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

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