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.