Search code examples
pythonpython-3.xdjangodatabaseisolation-level

Django transaction isolation level in mysql & postgresql


Do you know the default isolation level of the transactions used in Django? Is it possible to set the isolation level in the database independent way?

I'm mainly interested in mysql and postgres.


Solution

  • The isolation level isn't changed by mysql drivers so it depends on the server's default isolation level.