title: How are ACID properties provided in django transactions?
body: <p>If i want to write multiple SQL statements in a transaction block and make sure all the ACID properties are followed for that block, how should i achieve that?</p>
  
  <p>Example - When i use <strong>transaction.atomic</strong>, it provides atomicity for that block of code but does it provide concurrency control and isolation (table level or row level)?</p>
  
  <p>I'm currently using PostgreSQL and i've set <strong>isolation level</strong> to <strong>ISOLATION_LEVEL_SERIALIZABLE</strong>. </p>
  
  <p>Does this provide me with serialized transactions for the <strong>transaction.atomic</strong> block?</p>
  
  <p>And if doesn't do it so, how is it done?</p>