summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorNatalia <124304+nessita@users.noreply.github.com>2023-10-30 09:24:47 -0300
committerNatalia <124304+nessita@users.noreply.github.com>2023-10-30 13:49:12 -0300
commitacd4595ab0c9bbe852fda348fe0b10376cbafdbd (patch)
treeb4545599640c6603c826e72ed8cd1e4a4b97103c /docs
parentc8bc72462d2bc16d1287b2afa826c8da1e5fe85f (diff)
[5.0.x] Refs #30601 -- Fixed typos in docs/topics/db/transactions.txt.
Backport of 9b18af4f6f12b9d25157e0b5afc3dca198f6dd06 from main
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/transactions.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/topics/db/transactions.txt b/docs/topics/db/transactions.txt
index fc9c8b1275..40d40bc7d0 100644
--- a/docs/topics/db/transactions.txt
+++ b/docs/topics/db/transactions.txt
@@ -213,11 +213,10 @@ Django provides a single API to control database transactions.
This also applies to any other mechanism that may hold app state, such
as caching or global variables. For example, if the code proactively
updates data in the cache after saving an object, it's recommended to
- use :ref:`transcation.on_commit <performing-actions-after-commit>`
+ use :ref:`transaction.on_commit() <performing-actions-after-commit>`
instead, to defer cache alterations until the transaction is actually
committed.
-
In order to guarantee atomicity, ``atomic`` disables some APIs. Attempting
to commit, roll back, or change the autocommit state of the database
connection within an ``atomic`` block will raise an exception.