Carlton Gibson
d00127ccab
[3.1.x] Fixed #32128 -- Added asgiref 3.3 compatibility.
...
Thread sensitive parameter is True by default from asgiref v3.3.0.
Added an explicit thread_sensitive=False to previously implicit uses.
Backport of e17ee4468875077b90b70bb6a589ebad7493f757 from master
2020-10-27 11:29:31 +01:00
Mariusz Felisiak
f36c441f80
[3.1.x] Refs #31224 -- Made sync_to_async() examples use thread sensitive with ORM calls.
...
Backport of 8d59075184f4cd2852b374359850ff7aeb412ec1 from master
2020-09-03 12:07:25 +02:00
Juan Pedro Fisanotti
af190bf263
[3.1.x] Improved wording in async views docs.
...
Backport of 41725602afebe2ddb018b99afe134384cc3bf69e from master
2020-08-20 09:08:19 +02:00
Mariusz Felisiak
ebf553397a
[3.1.x] Fixed some formatting issues in docs.
...
Backport of 803e70b1adb71d86eb5bbb4074ef5ff96ae6e55d from master
2020-05-27 09:07:33 +02:00
Nick Pope
4eb5e4ee4f
[3.1.x] Used :envvar: role and .. envvar:: directive in various docs.
...
Backport of fbdb032de266ba5f82e061ab204f6c622889d563 from master
2020-05-13 09:38:59 +02:00
Andrew Godwin
b5ad450fa6
Refs #31224 -- Removed incorrect @sync_to_async(thread_sensitive=True) example.
...
It does not support thread_sensitive when used as a decorator, yet.
2020-04-14 07:26:16 +02:00
Adam Johnson
4216225480
Clarified async documentation.
2020-03-26 16:46:24 +01:00
Andrew Godwin
fc0fa72ff4
Fixed #31224 -- Added support for asynchronous views and middleware.
...
This implements support for asynchronous views, asynchronous tests,
asynchronous middleware, and an asynchronous test client.
2020-03-18 19:59:12 +01:00
Carlton Gibson
f622b49010
Fixed typo in docs/topics/async.txt.
2020-03-17 20:57:02 +01:00
Andrew Godwin
40a64dd1e2
Refs #31224 -- Doc'd async adapter functions.
2020-03-13 07:13:44 +01:00
Andrew Godwin
c90ab30fa1
Fixed #31056 -- Allowed disabling async-unsafe check with an environment variable.
2019-12-03 17:29:31 +01:00
Andrew Godwin
635a3f8e6e
Refs #30451 -- Doc'd asynchronous support and async-safety.
2019-12-03 17:29:10 +01:00