mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #31224 -- Doc'd async adapter functions.
This commit is contained in:
committed by
Mariusz Felisiak
parent
8725d04764
commit
40a64dd1e2
@@ -194,7 +194,7 @@ list of errors.
|
||||
|
||||
If you are trying to call code that is synchronous-only from an
|
||||
asynchronous thread, then create a synchronous thread and call it in that.
|
||||
You can accomplish this is with ``asgiref.sync.sync_to_async``.
|
||||
You can accomplish this is with :func:`asgiref.sync.sync_to_async`.
|
||||
|
||||
.. currentmodule:: django.urls
|
||||
|
||||
|
||||
Reference in New Issue
Block a user