Skip to content

Commit 5b5b2d0

Browse files
authored
Fix typo in consumers documentation (#1600)
A note in the consumers documentation contredicted the right phrasing in the database documentation. One does not need to use `database_sync_to_async` in synchronous code.
1 parent e85874d commit 5b5b2d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/topics/consumers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ callable into an asynchronous coroutine.
112112
.. important::
113113

114114
If you want to call the Django ORM from an ``AsyncConsumer`` (or any other
115-
synchronous code), you should use the ``database_sync_to_async`` adapter
115+
asynchronous code), you should use the ``database_sync_to_async`` adapter
116116
instead. See :doc:`/topics/databases` for more.
117117

118118

0 commit comments

Comments
 (0)