You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code will raise a TransactionManagementError when;
a handler in a transition raises an exception, and the make_transisition is in a transaction.atomic
# model_methods.py: line 205-209
except Exception, e:
if _state_log_model:
# main reason, this will raise error, you won't see 'e'
transition_log.make_transition('fail')
raise
Cause: trying to save something in database after an exception, which isn't 'protected' anymore by transaction block.
The text was updated successfully, but these errors were encountered:
The following code will raise a TransactionManagementError when;
a handler in a transition raises an exception, and the make_transisition is in a transaction.atomic
Cause: trying to save something in database after an exception, which isn't 'protected' anymore by transaction block.
The text was updated successfully, but these errors were encountered: