Hello, I just discovered Django a few days ago and wondered if it's possible to enclose multiple .save() in one transaction ? I would like to do something like :
try: object1.save() object2.save() object3.save() something.commit() except: something.rollback() and if something like that is not possible, is it a better way than doing a .save() and if it's fails, doing a .delete() ? thanks, Julien. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---