File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 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.
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.
You can’t perform that action at this time.
0 commit comments