検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 22 for async (0.022 sec.)
非同期サポート — Django 4.0.6 ドキュメント 14999
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ば、完璧な非同期リクエストスタックに対応した非同期("async")ビューをサポートしています。WSGIの環境下でも非同期 ... 時点では、同期処理と非同期処理のやり取りに、 sync_to_async() アダプターが使えます。さらに同期処理と非同期処理 ... うにすれば、非同期にできます。その際には、一般的に``async def``を使います。関数ベースのビューの場合、 `` asy ... スベースのビューの場合、 `` __call__()``メソッドを``async def``で宣言します( `` __init__()``でも``as_view() ...
https://man.plustar.jp/django/topics/async.html - [similar]
asgiref.sync — Django 4.0.6 ドキュメント 11144
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ex | Modules up asgiref.sync のソースコード import asyncio.coroutines import contextvars import functools i ... Python. if sys . version_info >= ( 3 , 8 ): return asyncio . iscoroutinefunction ( func ) else : while insp ... , functools . partial ): func = func . func return asyncio . iscoroutinefunction ( func ) class ThreadSensi ... tiveContext : """Async context manager to manage context for thread sensi ...
https://man.plustar.jp/django/_modules/asgiref/sync.html - [similar]
ミドルウェア (Middleware) — Django 4.0.6 ドキュメント 9107
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... upport only synchronous Python (the default), only asynchronous Python, or both. See 非同期サポート for det ... are can support any combination of synchronous and asynchronous requests. Django will adapt requests to fit ... an handle synchronous requests. Defaults to True . async_capable is a boolean indicating if the middleware ... can handle asynchronous requests. Defaults to False . If your middl ...
https://man.plustar.jp/django/topics/http/middleware.html - [similar]
ビューを記述する — Django 4.0.6 ドキュメント 9107
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... as being synchronous functions, views can also be asynchronous ("async") functions, normally defined using ... Python's async def syntax. Django will automatically detect these ... and run them in an async context. However, you will need to use an async se ... heir performance benefits. Here's an example of an async view: import datetime from django.http import Http ...
https://man.plustar.jp/django/topics/http/views.html - [similar]
How to deploy with ASGI — Django 4.0.6 ドキュメント 9023
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ploying on ASGI , the emerging Python standard for asynchronous web servers and applications. Django's star ... o's default ASGI handler will run all your code in a synchronous thread, if you choose to run your own asyn ... c handler you must be aware of async-safety. Do not call blocking synchronous functions ... or libraries in any async code. Django prevents you from doing this with the ...
https://man.plustar.jp/django/howto/deployment/asgi/index.html - [similar]
django.utils.decorators — Django 4.0.6 ドキュメント 8787
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... return _make_decorator [ドキュメント] def sync_and_async_middleware ( func ): """ Mark a middleware factory ... of request. """ func . sync_capable = True func . async_capable = True return func [ドキュメント] def sync ... func ): """ Mark a middleware factory as returning a sync middleware. This is the default. """ func . sync_ ... capable = True func . async_capable = False return func [ドキュメント] def asy ...
https://man.plustar.jp/django/_modules/django/utils/decorators.html - [similar]
Django 3.1 release notes — Django 4.0.6 ドキュメント 8434
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... release of each series. What's new in Django 3.1 ¶ Asynchronous views and middleware support ¶ Django now s ... upports a fully asynchronous request path, including: Asynchronous views ... Asynchronous middleware Asynchronous tests and test clie ... nt To get started with async views, you need to declare a view using async def ...
https://man.plustar.jp/django/releases/3.1.html - [similar]
Django 3.0.1 リリースノート — Django 4.0.6 ドキュメント 7945
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nside Jupyter and other environments that force an async context, by adding an option to disable 非同期安全 ... 性 mechanism with DJANGO_ALLOW_ASYNC_UNSAFE environment variable ( #31056 ). Fixed a re ...
https://man.plustar.jp/django/releases/3.0.1.html - [similar]
テストツール — Django 4.0.6 ドキュメント 7945
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... exclude the other, the test won't be run. Testing asynchronous code ¶ If you merely want to test the outpu ... t of your asynchronous views, the standard test client will run th ... em inside their own asynchronous loop without any extra work needed on your ... part. However, if you want to write fully-asynchronous tests for a Django project, you will need t ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
Django 3.1.1 release notes — Django 4.0.6 ドキュメント 7861
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... _request() and process_response() hooks when in an async context ( #31905 ). Fixed __in lookup on key trans ... o installation path ( #31912 ). Fixed detecting an async get_response callable in various builtin middlewar ...
https://man.plustar.jp/django/releases/3.1.1.html - [similar]
PREV 1 2 3 NEXT