Opened 15 months ago

Last modified 2 months ago

#28458 new New feature

Add ModelMultipleChoiceField.validate_choices()

Reported by: Daniel Hahler Owned by: nobody
Component: Forms Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description (last modified by Tim Graham)

I've done this initially in the context of #27148.

While it is not required to work around this anymore, it still is useful for customization and was ACKed in https://github.com/django/django/pull/7181#issuecomment-261079604.

PR

Change History (4)

comment:1 Changed 15 months ago by Tim Graham

Description: modified (diff)
Summary: Factor out ModelMultipleChoiceField.validate_choicesAdd ModelMultipleChoiceField.validate_choices()
Triage Stage: UnreviewedAccepted

comment:2 Changed 14 months ago by Tim Graham

Patch needs improvement: set

comment:3 in reply to:  2 Changed 2 months ago by Zach Bresser

Replying to Tim Graham:

Tim,

I see Blueyed is fairly silent on this. Would you mind if I picked up from his changes and fixed some of the things you pointed out?

comment:4 Changed 2 months ago by Daniel Hahler

Zach,

please feel free to pick it up.

Thanks!

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