Jon Dufresne
unread,Oct 7, 2013, 12:15:43 PM10/7/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi,
I am using a ModelForm with a ModelMultipleChoiceField. I would like
for this field to silently ignore invalid choices instead of creating
a form error. Here is my use case:
* User A opens form select model choice 1, 2, and 3
* User B (different browser) deletes model choice 3 entirely from system
* User A submits form and receives error
I understand why this should be an error in the general case, but in
my case, I want this to silently ignore the invalid choice 3 and
continue with choice 1 and 2? Is this possible?
Thanks,
Jon