Re: Why the default Django transaction way doesn't work?

2008-01-31 Thread pength
I found that the problems comes because I am using a middleware of perform_bench... so no problem here, just write this info. in case any other people falls the same trap. ;) On Jan 13, 2:41 pm, pength <[EMAIL PROTECTED]> wrote: > Thanks for your reply. > > I am using MySQL 5.0.24, with InnoDB

Re: Why the default Django transaction way doesn't work?

2008-01-12 Thread pength
Thanks for your reply. I am using MySQL 5.0.24, with InnoDB engine. Actually I am not familiar with MySQL settings, but as far as I understand, as when I use the decorator @transaction.commit_on_success, the transaction works well, does that means my database backend has no problem in support

Re: Why the default Django transaction way doesn't work?

2008-01-12 Thread Alex Koshelev
Transaction behaviour depends on database backend. What backend do you use and have you setup transaction support for it? On 12 янв, 20:45, pength <[EMAIL PROTECTED]> wrote: > At first, I tried to search in this group, but only got an un-answered > question similar to >

Why the default Django transaction way doesn't work?

2008-01-12 Thread pength
At first, I tried to search in this group, but only got an un-answered question similar to mine: http://groups.google.com/group/django-users/browse_thread/thread/767716b62a244b33/85b8203990407a6c?lnk=gst=transaction+default#85b8203990407a6c in my settings.py, i am using TransactionMiddleware.