I am able to upload the files to media folder( \'/peaceroot/www/media/\') that I have set up in settings.py as below
\'/peaceroot/www/media/\'
settings.py
MEDIA_ROOT = \'/pe
Add media url entry in your project urlpatterns:
from django.conf.urls.static import static from django.conf import settings ... urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)