キー値がそのリストにある場合、オブジェクトのリストからアイテムを取得したいと思います。私はジャンゴを使用しています。
attributesValues = AttributeValue.objects.filter(feature__pk = feature_id)
for key, value in request.POST.iteritems():
if key in attributesValues.attribute.name:
## here i'd like to get the matching item and name it attributeValue and give it a new value
attributeValue.value = value
attributeValue.save()
else:
#here the key is not in the list attributesValues so I'll create a new object
return HttpResponse("")