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
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:
[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
*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*
*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
5 matches
Mail list logo