Skip to content Skip to sidebar Skip to footer

How To Save Multi Images Into Database In Flask?

I want to upload more than one image into database, i've created the form and am getting all the images uploaded perfectly . In my views i've created a list to contain all the imag

Solution 1:

The problem get solved, what @stamaimer mentioned is that i need to convert the imageList to a string list, i did that literally, when the list get saved inside database , the list get converted to a unicode list, to solve this problem i should have used the eval() function to convert them to a list .

Now every thing works just fine :| , thanks @stamaimer .

Post a Comment for "How To Save Multi Images Into Database In Flask?"