Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#12097 closed (fixed)

ModelChoiceField does not document required queryset parameter properly

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

Description

http://docs.djangoproject.com/en/dev/ref/forms/fields/#modelchoicefield

The reference to ModelChoiceField.queryset comes before the section on ModelChoiceField and it should come after - also it should be more explicit that queryset is a required parameter

Attachments (1)

ModelChoiceField_doc.diff (3.6 KB ) - added by Jason Yosinski 15 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by Russell Keith-Magee, 15 years ago

milestone: 1.2
Triage Stage: UnreviewedAccepted

comment:2 by Jason Yosinski, 15 years ago

Owner: changed from nobody to Jason Yosinski
Status: newassigned

comment:3 by Jason Yosinski, 15 years ago

Has patch: set

Patch submitted and ready for review.

by Jason Yosinski, 15 years ago

Attachment: ModelChoiceField_doc.diff added

comment:4 by anonymous, 15 years ago

Triage Stage: AcceptedReady for checkin

on re-reading the original version it is technically complete. However I think the order in the included patch is clearer.

in reply to:  4 comment:5 by Preston Holmes, 15 years ago

Replying to anonymous:

on re-reading the original version it is technically complete. However I think the order in the included patch is clearer.

Sorry - this comment was by me - the original reporter of this item - didn't see I was no longer logged in

comment:6 by Russell Keith-Magee, 15 years ago

Resolution: fixed
Status: assignedclosed

(In [12712]) Fixed #12097 -- Cleaned up the documentation for ModelChoiceField and MultipleModelChoiceField. Thanks to JasonYosinski for the patch.

comment:7 by Russell Keith-Magee, 15 years ago

(In [12715]) [1.1.X] Fixed #12097 -- Cleaned up the documentation for ModelChoiceField and MultipleModelChoiceField. Thanks to JasonYosinski for the patch.

Backport of r12712 from trunk.

comment:8 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

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