Correction: > I can't use atomic blocks
This is not true. "You can use atomic just over the section that causes the error", this has been suggested to me multiple times and I thought I had no use for it but it was actually very useful in many cases. With that technic and with the Django patch Aymeric suggested I managed to solve my problem without patching set_rollback(). Thanks everyone for helping me with this! Tore -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/1d1cab1a-439d-4c47-bc07-0c6e6da45b03%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.