I\'m trying to pass a list of numeric values (ids) from one web page to another with jQuery ajax call. I can\'t figure out how to pass and read all the values in the list. I
This part is your problem:
ourid = request.POST.get('terid', False) ingredients = Ingredience.objects.filter(food__id__in=ourid)
You need to deserialize the JSON string.
import json ourid = json.loads(request.POST.get('terid'))