django error displaying images page not found

36

from django.conf import settings
from django.conf.urls.static import static

urlpatterns = [
        # ... the rest of your URLconf goes here ...
 ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) #not both
#PLEASE NOTE THAT YOU SHOLD ADD IT TO THE urls.py For the project not the other apps

Comments

Submit
0 Comments