Check out ImageField:
https://docs.djangoproject.com/en/2.1/ref/models/fields/#imagefield
On February 14, 2019 12:37:04 PM CST, Surajeet Das
wrote:
>How do I upload images from admin panel and retrieve from a html page ?
>
>--
>You received this message because you are subscribed to the Google
Hey Surajeet
At first, you will need to create a model with the Field `ImageField`(do
not forget to install pillow using `pip install pillow`) in the models.py
of your app.
Then, you will need to register that model to admin.py of the app and then
start the webserver. So, you will be able to se
How do I upload images from admin panel and retrieve from a html page ?
--
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
3 matches
Mail list logo