Django: How To Refresh Or Reload Models From Database
Some of my tables in database are periodicity updated by several python scripts outside of Django. As a result, the Django's views are not aware of the latest data in database and
Solution 1:
Add "transaction-isolation = READ-COMMITTED" to my.cnf. More details here: How do I force Django to ignore any caches and reload data?
Post a Comment for "Django: How To Refresh Or Reload Models From Database"