How Upload Image Html File To save DataBase

2020-09-15 Thread kkwaq...@gmail.com
*Problem :- I have Create table and add ImageField , i wanna upload_image Front-end and save database.*. html file: But Image Not save *I am upload using database* [image: u.JPG] *models.py* [image: i.JPG] Html Coding file [image: j.JPG] *urls.py* [image: g.JPG] -- You received this

Re: How Upload Image Html File To save DataBase

2020-09-16 Thread waqar khan
*I am Using dataBase Sql* On Wed, Sep 16, 2020 at 1:21 AM kkwaq...@gmail.com wrote: > *Problem :- I have Create table and add ImageField , i wanna upload_image > Front-end and save database.*. > > > html file: But Image Not save > *I am upload using database* > > > [image: u.JPG] > *models.py*

Re: How Upload Image Html File To save DataBase

2020-09-16 Thread waqar khan
[image: s.JPG] Please Guys Reply Me . On Wed, Sep 16, 2020 at 1:36 PM waqar khan wrote: > *I am Using dataBase Sql* > > On Wed, Sep 16, 2020 at 1:21 AM kkwaq...@gmail.com > wrote: > >> *Problem :- I have Create table and add ImageField , i wanna upload_image >> Front-end and save database

Re: How Upload Image Html File To save DataBase

2020-09-16 Thread RANGA BHARATH JINKA
Hi, Store the images in a folder. Store the images folder path in the database. Don't store the images directly in db. It is not a good practice. Instead use aws for storing images. Follow this tutorial series. https://www.youtube.com/watch?v=inQyZ7zFMHM All the best On Wed, Sep 16, 2020 at 1:

Re: How Upload Image Html File To save DataBase

2020-09-16 Thread RANGA BHARATH JINKA
Check django documentation to store images to the folder. Use upload_to in models.py You have to update your models. All the best On Wed, Sep 16, 2020 at 1:50 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > > Store the images in a folder. > Store the images folder path in the