def outer_atomic(using=None, savepoint=True, read_committed=False, name=None):
 if callable(using):
  return OuterAtomic(DEFAULT_DB_ALIAS, savepoint, read_committed)(using)
 else:
  return OuterAtomic(using, savepoint, read_committed, name)

def outer_atomic ( using = None , savepoint = True , read_committed = False , name = None ) : if callable ( using ) : return OuterAtomic ( DEFAULT_DB_ALIAS , savepoint , read_committed ) ( using ) else : return OuterAtomic ( using , savepoint , read_committed , name )
a variant of djangos atomic() which cannot be nested inside another atomic .