Opened 6 years ago

Closed 5 years ago

Last modified 5 years ago

#11908 closed (fixed)

Understanding the ManagementForm section could be clearer.

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.1
Severity: Keywords: ManagementForm
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

"You may have noticed the additional data that was required in the formset's data above."
should probably be specific like:
"You may have noticed the additional data (form-TOTAL_FORMS and form-INITIAL_FORMS) that was required in the formset's data above."

It would also be nice if it said something like:
"The easy way to add this data to your form is to include {{formset.management_form}} in your template."
After the:
"If you don't use it, it will result in an exception"
line.

I overlooked that line in the template example, but it took a lot of googling to figure out how to fix it, even though I immediately found the managementform section.

Attachments (1)

11908.diff (1.2 KB) - added by timo 6 years ago.

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by timo

comment:1 Changed 6 years ago by timo

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Ready for checkin

comment:2 Changed 5 years ago by russellm

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

(In [13222]) Fixed #11908 -- Clarified the role and usage of the ManagementForm in formsets. Thanks to timo for the draft patch.

comment:3 Changed 5 years ago by russellm

(In [13227]) [1.1.X] Fixed #11908 -- Clarified the role and usage of the ManagementForm in formsets. Thanks to timo for the draft patch.

Backport of r13222 from trunk.

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