Re: TransactionMiddleware and cursor.execute

2009-03-06 Thread Jeremy Dunck
On Fri, Mar 6, 2009 at 9:34 AM, Karen Tracey wrote: > On Fri, Mar 6, 2009 at 10:28 AM, Jeremy Dunck wrote: >> >> The Django docs for TransactionMiddleware state: >> "When a request starts, Django starts a transaction. If the response >> is produced without

Re: TransactionMiddleware and cursor.execute

2009-03-06 Thread Karen Tracey
On Fri, Mar 6, 2009 at 10:28 AM, Jeremy Dunck wrote: > > The Django docs for TransactionMiddleware state: > "When a request starts, Django starts a transaction. If the response > is produced without problems, Django commits any pending > transactions." > > This is apparently

TransactionMiddleware and cursor.execute

2009-03-06 Thread Jeremy Dunck
The Django docs for TransactionMiddleware state: "When a request starts, Django starts a transaction. If the response is produced without problems, Django commits any pending transactions." This is apparently not actually true. I have some code using cursor.execute while doing no operations