[Answer]-Django + InnoDB: random failure of model reading

1πŸ‘

βœ…

It does not sound like a database connection issue, this sounds like one of the following:

  • Caching
  • You modified your python files and have not restarted the web server process (e.g Apache) to update the python files.

I suggest you try reloading your python files on the hosting web server using one of the following methods:

$ touch wsgi.py

or

$ sudo service apache2 restart

I am assuming your web server is Apache otherwise use the appropriate command to restart your web server.

πŸ‘€Medhat Gayed

Leave a comment