I’m running mod_wsgi on apache2. It’s running Django and for some reason, after I change my code, old versions are sometimes shown along with new code.
For example, after creating a view that simply returns an Http Response with “Hi”, I get either the Django start page or “Hi”.
Any ideas what would cause this?
Thanks.
apache2/mod_wsgi keeps parts of the application loaded between requests. You have to restart the server after code updates.