mirror of
https://github.com/django/django.git
synced 2025-07-16 01:35:15 +00:00
Refs #31224 -- Doc'd async adapter functions.
This commit is contained in:
parent
8725d04764
commit
40a64dd1e2
3 changed files with 111 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue