the loop is wrong. The below will be it. list=[]
for row in query: list.append([row.things.title, row.photos_things.photo_id.image])
the loop is wrong. The below will be it. list=[]
for row in query: list.append([row.things.title, row.photos_things.photo_id.image])