Opened 3 years ago

Last modified 16 months ago

#28458 assigned New feature

Add ModelMultipleChoiceField.validate_choices()

Reported by: Daniel Hahler Owned by: José Manuel Valdivia Romero
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 (5)

comment:1 Changed 3 years ago by Tim Graham

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

comment:2 Changed 3 years ago by Tim Graham

Patch needs improvement: set

comment:3 in reply to:  2 Changed 2 years 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 years ago by Daniel Hahler

Zach,

please feel free to pick it up.

Thanks!

comment:5 Changed 16 months ago by José Manuel Valdivia Romero

Owner: changed from nobody to José Manuel Valdivia Romero
Status: newassigned
Note: See TracTickets for help on using tickets.
Back to Top