summaryrefslogtreecommitdiff
path: root/django/utils/asyncio.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34233 -- Dropped support for Python 3.8 and 3.9.Mariusz Felisiak2023-01-181-25/+0
|
* Fixed #33735 -- Added async support to StreamingHttpResponse.Carlton Gibson2022-12-221-0/+25
| | | | | Thanks to Florian Vazelle for initial exploratory work, and to Nick Pope and Mariusz Felisiak for review.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+4
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-2/+5
|
* Optimized @async_unsafe.Adam Johnson2021-09-301-10/+10
| | | | | | Switched the order of the checks to reduce the overhead. Async unsafe methods are *normally* called syncrhonously, so we can avoid the overhead of checking the environment variable in the regular path.
* Refs #32956 -- Updated words ending in -wards.David Smith2021-07-301-1/+1
| | | | AP styleguide: Virtually none of the words ending with -wards end with an s.
* Refs #32074 -- Used asyncio.get_running_loop() instead of get_event_loop().Mariusz Felisiak2021-05-041-3/+2
| | | | Using asyncio.get_event_loop() when there is no running event loop was deprecated in Python 3.10, see https://bugs.python.org/issue39529.
* Fixed #31056 -- Allowed disabling async-unsafe check with an environment ↵Andrew Godwin2019-12-031-8/+10
| | | | variable.
* Fixed #30451 -- Added ASGI handler and coroutine-safety.Andrew Godwin2019-06-201-0/+32
This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django.