1👍
Using digital ocean I was able to fix this issue by restarting uwsgi with the following in the terminal
systemctl restart uwsgi.service
1👍
I came across this problem and I found a solution here by George:
"…I restarted the instance I was working on."
I am running an Ubuntu(20.04) EC2 instance on AWS.
- [Answered ]-Creating file and saving in Django model (AttributeError?)
- [Answered ]-Django Generic View Model Filtering
0👍
I experienced this problem while using App Service.
First make sure you have defined ALLOWED_HOSTS correctly in your settings.py
If you are using environment variables, make sure to set it by going to Settings, then Configuration, then click on New Application Settings; in the Name field, set the name of the environment variable and in the Value field, set the value.
If you’ve done this or you didn’t use environment variables, go to Overview in the menu and either Stop and Start your app or restart your app.
- [Answered ]-Cannot server static files with nginx in django
- [Answered ]-Full Stack Setup with Python