db.py
11.1 KB
-
Added a named outer_atomic option. · 78162320
A named outer is suitable when dealing with IntegrityErrors. It only checks that it is not nested under an atomic only if it is nested under enable_outer_atomic(name=<name>). This way only the view which is causing IntegrityErrors needs to have its automatic transaction management disabled and other callers are not effected.
Usman Khalid committed