Tech Insights
Request.POST["key"] returns only the last value of a list, if you want a list of values for a key, use the following: values = request.POST.getlist('key')
Shared by
- Django



