I'm new to Django, I know that to display an image I should define MEDIA_URL
in the settings.
But when I tried to remove it and use the {{ img.url }}
the images are still readable and the browser can see it and display it. The question is does this mean that the MEDIA_URL
does not import in displaying images, and why did we declare it if we can use img.url
instead.