File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -213,11 +213,10 @@ Django provides a single API to control database transactions.
213
213
This also applies to any other mechanism that may hold app state, such
214
214
as caching or global variables. For example, if the code proactively
215
215
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>`
217
217
instead, to defer cache alterations until the transaction is actually
218
218
committed.
219
219
220
-
221
220
In order to guarantee atomicity, ``atomic`` disables some APIs. Attempting
222
221
to commit, roll back, or change the autocommit state of the database
223
222
connection within an ``atomic`` block will raise an exception.
You can’t perform that action at this time.
0 commit comments