Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use nested transaction to handle integrity error
The notes in the "avoid catching exceptions" callout here (https://docs.djangoproject.com/en/5.0/topics/db/transactions/#controlling-transactions-explicitly) say to do something like this to isolate error handling without stepping on the operation of the transactions themselves.
- Loading branch information