pythondjangopostgresqltransactionsisolation-level

Default isolation level for transaction (@atomic) with Django and PostgreSQL


I was wondering what's the default isolation level when using Django with PostgreSQL. Serializable Isolation? (https://www.postgresql.org/docs/9.1/static/transaction-iso.html#XACT-SERIALIZABLE)

There is a discussion about MySQL (Django transaction isolation level in mysql & postgresql) but despite its name is doesn't seem to discuss PostgreSQL

Thanks!


Solution

  • From the docs:

    Like PostgreSQL itself, Django defaults to the READ COMMITTED isolation level.