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])

Reply via email to