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 <[email protected]> wrote: > 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&...&key=...&expiry_datetime=&overflow=555& > *pool_list=507&pool_list=499*&... > > Later in the request dict, I only see one of the values in the _post: > '_post': ....* 'pool_list': ['499'],* > > This means that in request.POST.getlist('pool_list'), I'm only getting one > result in the list object. > > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/f2f7a4f2-26bd-46b3-88f2-532b5137124en%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/f2f7a4f2-26bd-46b3-88f2-532b5137124en%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE%3DG6DYU65YPPjAx0NwaKvR%2B0X_B8KYE5Jr1U1E3rqPqWdS4Uw%40mail.gmail.com.

