Passing a list through url in django
问题 I want to pass a list through the url. But when i tried, i got some errors. So how can i do that. Somebody please help me.. this is my view def add_student(request): if request.method == 'POST': student_list = [] student_name = request.POST.getlist('student_name') student_phone = request.POST.getlist('student_phone') zipped = zip(student_name,student_phone) for student_name,student_phone in zipped: student_object = Student( student_name=student_name, student_phone=student_phone ) student