Skip to content

Commit 3fae5d9

Browse files
committed
[4.2.x] Refs #30601 -- Fixed typos in docs/topics/db/transactions.txt.
Backport of 9b18af4 from main
1 parent a8aa940 commit 3fae5d9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/topics/db/transactions.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,10 @@ Django provides a single API to control database transactions.
213213
This also applies to any other mechanism that may hold app state, such
214214
as caching or global variables. For example, if the code proactively
215215
updates data in the cache after saving an object, it's recommended to
216-
use :ref:`transcation.on_commit <performing-actions-after-commit>`
216+
use :ref:`transaction.on_commit() <performing-actions-after-commit>`
217217
instead, to defer cache alterations until the transaction is actually
218218
committed.
219219

220-
221220
In order to guarantee atomicity, ``atomic`` disables some APIs. Attempting
222221
to commit, roll back, or change the autocommit state of the database
223222
connection within an ``atomic`` block will raise an exception.

0 commit comments

Comments
 (0)