python - @transaction.commit_manually throws an exception in Django -
we using django 1.4 in our website. have function @transaction.commit_manually
decorator, calls function has @transaction.commit_manually
decorator. second function exits without error, when exits first function throws transactionmanagementerror
exception - transaction managed block ended pending commit/rollback
. think because first function didn't commit yet. can avoid exception?
Comments
Post a Comment