MMK, That is the solution for static files, not the dynamic one. How to upload images dynamically during runtime, such as the user uploads his/her profile image.
On Sunday, 22 March 2020 00:21:10 UTC+5:30, Sandip Nath wrote: > > I am developing a car rental app. I have esigned it such a way that the > car and driver images will be uploaded from admin page during runtime from > media folder. The models.py working fine. Images can be uploaded to the > media folder. But the images are not getting diplayed on the car page. > Should the img source in car template be changed to the path of the media > folder? > Please advice. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5d825981-6ec8-4bda-8b6a-f9d94e547271%40googlegroups.com.

