Media File
url.py
from django.conf.urls.static import static # new
from django.conf import settings # new
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
settings.py
STATIC_URL = '/static/'
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
This page should automatically redirect. If nothing is happening please use the continue link below.