I am new to django learning from the scratch but i have some hands on experience in python
so my question is that when i am trying to upload my image from my views.py file to html , i try to give url fro the images that i put in the media directory and added that neccessary files in the settings.py so when i am rendering the image name of (template variable) in html the image is not showing the broken image is coming i tried to watch youtube and tried to find answers but everyone are using other approaches i needed in this way
Hello,
Share your view function, template and settings
Thank u so much replying but i got the answer i needed
As i am using the template variables i didn’t mentioned the path earlier (i thought if mentioning in settings.py will be enough but end point is missed) ,my mate helped me on this
Thank you @mkalioby