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 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:43 PM waqar khan <kkwaqar...@gmail.com> wrote:
>
>> [image: s.JPG]
>>
>> Please Guys Reply Me .....
>>
>> On Wed, Sep 16, 2020 at 1:36 PM waqar khan <kkwaqar...@gmail.com> wrote:
>>
>>> *I am Using dataBase Sql*
>>>
>>> On Wed, Sep 16, 2020 at 1:21 AM kkwaq...@gmail.com <kkwaqar...@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*
>>>>
>>>> [image: i.JPG]
>>>>
>>>> Html Coding file
>>>> [image: j.JPG]
>>>>
>>>> *urls.py*
>>>>
>>>> [image: g.JPG]
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to django-users+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/7bcbd386-354a-40fd-87dc-2e9d83b11fa6n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/7bcbd386-354a-40fd-87dc-2e9d83b11fa6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CA%2B08CAP%2BArs1iDNwuCHRfk8iEvp8dQZpNRh%3DVneaQa_vcLWZpg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CA%2B08CAP%2BArs1iDNwuCHRfk8iEvp8dQZpNRh%3DVneaQa_vcLWZpg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Thanks and Regards
>
> J. Ranga Bharath
> cell: 9110334114
>


-- 
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK5m314eFb6mVjGV7n%3DPvFhxTE%3Dhi44XRQJB%2BvNg9%3D4D6nRr6g%40mail.gmail.com.

Reply via email to