diff --git a/docs/topics/db/queries.txt b/docs/topics/db/queries.txt index c6349792b7..2d43e7ee32 100644 --- a/docs/topics/db/queries.txt +++ b/docs/topics/db/queries.txt @@ -942,8 +942,8 @@ updates. You will find that trying to use one raises ``SynchronousOnlyOperation``. If you wish to use a transaction, we suggest you write your ORM code inside a -separate, synchronous function and then call that using sync_to_async - see -:doc:/topics/async` for more. +separate, synchronous function and then call that using ``sync_to_async`` - see +:doc:`/topics/async` for more. .. _querying-jsonfield: