1👍
Check the ownership of the Django files and make sure that the user you are running the application as has permissions to the files. If you created it under a different user than you are running it under you will not have permissions to modify.
0👍
try running this command
sudo chown -R ec2-user:ec2-user App1/
or
sudo chown -R ec2-user:ec2-user mywebsite/
- Separate classes for different user types in Django
- Django Rest Framework – Serializing relationship differently for GET and POST
- Django: Database caching to store web service result
- Nginx + Systemd/Systemctl + Django not working (502 bad gateway)
Source:stackexchange.com