[Answered ]-Django with Apache : Global variable in view.py

2👍

The reason this is happening is because mod_wsgi is running your app with multiple processes, each of which have their own variable space.

But there is no good reason to do this. Data is stored in the database, don’t put it in global objects.

Leave a comment