1đź‘Ť
Eventually I got the answer from the DH support service. They told me to
pkill python
I did it. I also checked with
ps -aux
what process I was running. And indeed I could see the python process starting when I went to the page, and being killed when I pkilled it.
Thanks for all that helped.
1đź‘Ť
Here’s the relevant section of the Passenger user’s guide for restarting Passenger:
- [Answered ]-Django TypeError get_object_or_404() takes at least 1 argument (0 given)
- [Answered ]-Split the revision.comment into field and value in Django-reversion
1đź‘Ť
I had the same problem with Passenger not reloading the Django server.
According to Django wiki page on Dreamhost, you can touch a “restart.txt” file that Passenger watches. If the timestamp on the file changes, Passenger restarts Django.
If you modified your application and your changes do not seem to be reflected, you may need to notify Passenger about your change by creating or modifying ~/example.com/tmp/restart.txt:
touch /home/user/example.com/tmp/restart.txt
-1đź‘Ť
For the tutorial, you should be working on a local machine, not a web server.
- [Answered ]-Haystack + solr duplicate on update
- [Answered ]-How to display value of a field in a *linked* table, in a Django template?