I just want to display an image that i have uploaded through the admin module, through an html image tag on a web page. The image is located in /home/user/work/djcode/media/chic
Try doing the following:
from django.conf import settings from django.conf.urls.static import static from . import views urlpatterns = [ ..... ] + static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)