Hi. I want group many functions in a single transaction. Let's say that I have a function that calls other functions that manipulate some database objects. If I catch an exception in the first function, I want to rollback all changes made by this function as well as the changes made by the called functions to the database.
Is this achieved by simply decorating the first function with @transaction.commit_manually and then rolling back the transaction when an exception is handled? Or is there another way to achieve the behavior I want? Thanks, Antonios. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

