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