#NEWLINE# def autocommit( using = None ) : #NEWLINE# #INDENT# "\n    Decorator that activates commit on save. This is Django's default behavior;\n    this decorator is useful if you globally activated transaction management in\n    your settings file and want the default behavior in some view functions.\n    " #NEWLINE# def entering( using ) : #NEWLINE# #INDENT# enter_transaction_management ( managed = False , using = using ) #NEWLINE# managed ( False , using = using ) #NEWLINE# #UNINDENT# def exiting( exc_value , using ) : #NEWLINE# #INDENT# leave_transaction_management ( using = using ) #NEWLINE# #UNINDENT# return _transaction_func ( exiting , exiting , using )