1
0
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:
Andrew Godwin
2020-03-10 10:01:19 -06:00
committed by Mariusz Felisiak
parent 8725d04764
commit 40a64dd1e2
3 changed files with 111 additions and 5 deletions

View File

@@ -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