transaction.atomic #375
devxpy
announced in
Programming Guide
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Use
transaction.atomic
sparingly as it has a performance penalty. sending emails, doing any form of HTTP calls or CPU bound work is not allowed. Restrict usage to include database work ONLY.https://docs.djangoproject.com/en/5.0/topics/db/transactions/#controlling-transactions-explicitly
Beta Was this translation helpful? Give feedback.
All reactions