I got problem with django request.POST.getlist('data'). In template, There are multiple <input name="data"> tags, and I use getlist in view.py to get the list.
everything was fine in my develop environment and I got a list. But when it got deploy on server, (code same), I only get the last element instead of the whole list.
Why? The post data (F12 - Network) in browser is list with all data, but POST.getlist() just a list contains the last element in views.py How did this happen?