Django media isn't loading

I am trying to dynamically show media files which are uploaded with admin page. I am able to save the files and view it on the directory and database, however its not showing on the webpage.


MEDIA_ROOT = os.path.join(BASE_DIR, '')
MEDIA_URL = '/uploads/'

path('xxxxx/', include('xxxxx.urls')),
]+  static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

Filepath on database


Filepath in directory

Back to Top