2👍
The apache use that runs your django application does not have the permission to create the folder/file in your media directory.
A quick temporary fix would be to
Go to your media folder:
/home/fandrive/www/fandrive/site_media
and type:
sudo chmod -R a+w
which makes your folder writeable by all users.
This approach may not be secure. To make it secure, you can change the ownership of the folder to that user, or create a group and assign the permissions to that group.
- [Answered ]-Is it possible to prevent a base template reloading using django's template inheritance?
Source:stackexchange.com