[Answer]-Django Show Image in HTML

1👍

values_list returns a list of tuples but not the single value. Change your query to:

product_image = Item_Model.objects.filter(id=info_id) \
                                  .values_list('image', flat=True).first()

Leave a comment