I have 2 lists of dictonaries and want to return items which have the same id but different title. i.e.
list1 = [{'id': 1, 'title': 'title1'}, {'id': 2, 'title': 'title2'}, {'id': 3, 'title': 'title3'}]
list2 = [{'id': 1, 'title': 'title1'}, {'id': 2, 'title': 'title3'}, {'id': 3, 'title': 'title4'}]
Would return [{'id': 2, 'title': 'title2'}, {'id': 3, 'title': 'title3'}]
as the titles are different in list2 to list1.