Re: ModelMultipleChoiceField - different number of values in request _body and _post

2022-01-17 Thread Campbell McKilligan
Here's the parsed POST payload (I've trimmed all the HTML in the payload since it's repetitive). Below is the non-parsed non-trimmed POST payload. 1. csrfmiddlewaretoken: FmbcJ2t1RV6rMSf4TJzzPOe8Zm1yzXx7Jh3mdfSK1TTMEdBCKs5VIWhICBbbPNn6 2. key: acme-seoul-2022-cast 3.

Re: ModelMultipleChoiceField - different number of values in request _body and _post

2022-01-16 Thread Patrice Chaula
Information for your post request is missing. Paste all the data that is sent when making a post request. That way everyone gets the idea of what you are trying to achieve. On Sun, Jan 16, 2022, 10:22 PM Campbell McKilligan wrote: > Hi, > I have an ajax request which submits multiple values to

ModelMultipleChoiceField - different number of values in request _body and _post

2022-01-16 Thread Campbell McKilligan
Hi, I have an ajax request which submits multiple values to an UpdateView. In the request dict body I see both values (in this case, for the pool_list column): '_body': b"csrfmiddlewaretoken=z...h&...=..._datetime==555& *pool_list=507_list=499*&... Later in the request dict, I only see one of