7👍
✅
This is one of the funny things in Django. If you want to get a list from a post request you should use request.POST.getlist(your_key)
. In your case request.POST.getlist('con')
.
You can find more about this topic here.
Source:stackexchange.com