id_tuple= (1,3,4,5,7,9) students =Students.objects.filter(id in id_tuple) for s in students : s.name='_new_name_'
This code is giving error ! How can i solve it ?? based on the above tuple i want to get all student !
How to do that