Opened 7 years ago

Closed 6 years ago

Last modified 6 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 Tim Graham 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Tim Graham

Attachment: 11908.diff added

comment:1 Changed 7 years ago by Tim Graham

Has patch: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedReady for checkin

comment:2 Changed 6 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

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

comment:3 Changed 6 years ago by Russell Keith-Magee

(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