Re: TransactionMiddleware recommendation

2011-09-21 Thread Joe Mou
Thanks, really interesting read. On Wed, Sep 21, 2011 at 3:42 PM, Christophe Pettus wrote: > > On Sep 21, 2011, at 2:27 PM, Joseph Mou wrote: > > > Why is this preferable over the default auto-commit behavior? > > If you are certain that every single time you modify the database, you want > an i

Re: TransactionMiddleware recommendation

2011-09-21 Thread Christophe Pettus
On Sep 21, 2011, at 2:27 PM, Joseph Mou wrote: > Why is this preferable over the default auto-commit behavior? If you are certain that every single time you modify the database, you want an immediate commit (no object graphics, no possibility of dangling objects), the default behavior might wo

TransactionMiddleware recommendation

2011-09-21 Thread Joseph Mou
I saw that the docs recommend using TransactionMiddleware, even though it's not the default: https://docs.djangoproject.com/en/dev/topics/db/transactions/ Why is this preferable over the default auto-commit behavior? I wasn't able to find much more information when searching (mostly just bug repor