Hi Tom, Thanks a lot for your efforts. It worked with savepoint called before update query. Thank you
Regards, Simran On Monday, May 11, 2015 at 4:27:50 PM UTC+5:30, Simran Singh wrote: > > I am really new to Django and I am using Django 1.8. Many of the > manual_transaction features have been depreciated in this. I have used > *@transaction.atomic(None, > True)* to pack the transaction and rollback the updates if at any point > the condition is not met. > I tried to store the transaction in savepoint and used > *savepoint_rollback* or *savepoint_commit* as per the condition. But I am > having no luck here. No matter where the control goes but as soon as atomic > block ends, it is committing the changes in mysql db. > Any kind of help or leads would be highly appreciated. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/d7e3881e-de7a-43a2-8811-82c51f208642%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

