how to add a media folder in django code example Example: django give access to media folder chgrp -R www-data /path/to/media/ chmod -R g+w /path/to/media/