We need to use getlist in Django to access array items. # Python Code key1 = request.POST.getlist("key1[]") #Dont forget []. It returns the list [1,2,3] ...
確定! 回上一頁