How do I get the values of all selected checkboxes in a Django request.POST?
Try this:
some_var = request.POST.getlist('checks')
some_var
will contain [1,3,4]
(those values that were checked)
This will fix your problem,
some_var = request.POST.getlist('checks[]')
If you write some_var = request.POST.getlist('checks')
may not work properly.