per page, with , order by , clip by
Results of 1 - 9 of about 9 for cost (0.007 sec.)
非同期サポート 12402
非同期サポート Django has support for writing asynchronous ("async") views, along with an entirely async-enabled request stack if you are running under ASGI . Async views will still work under WSGI, but with a small per-request adaptation cost ... the ORM , the cache framework, authentication, sessions, and signals. For other code, the sync_to_async() adapter is a low-cost bridge (see パフォーマンス ). A wide range of async-native Python libraries can also be integrated. 非同期ビュー どのような ... its between an ASGI server and an async view, Django adapts it by running it in its own thread; see パフォーマンス for the cost trade-off. Django's bundled middleware supports both sync and async . Third-party middleware may not. To see which middlew ... , or a traditional sync view under ASGI), Django must emulate the other call style to allow your code to run. The per-call cost of this adaptation is small: tens of microseconds in the in-request ASGI path, where the running event loop is reused, and ...
https://man.mtool.work/django/6.1/topics/async.html
Djangoにおけるパスワード管理 12223
Djangoにおけるパスワード管理 パスワード管理は一般的に、不必要に再発明されるべきではないものです。Djangoはユーザーのパスワードを管理するための安全で柔軟なツールセットを提供するよう努めています。このドキュメントでは、Djangoがパスワードを保存す ... とえば 12 ラウンドは 2 ** 12 のイテレーションを意味します。 Argon2 Argon2には、カスタマイズ可能な以下の属性があります: time_cost はハッシュ内のイテレートする回数をコントロールします。 memory_cost は、ハッシュの計算に必要なメモリのサイズをコントロールし ... すぎたりすると判断した場合は、以下のように微調整できます: parallelism は、ハッシュを計算するスレッド数を指定します。 memory_cost には、余裕を持ったメモリのKiBを選択してください。 time_cost を調整し、パスワードのハッシュにかかる時間を測定します。 time_ ... cost は、あなたにとって許容できる時間を選んでください。もし time_cost に 1 を指定しても許容できないほど遅い場合は、 memory_cost を下げてください。 memory_cost の解釈 argon2 コマンドラインユーテ ...
https://man.mtool.work/django/6.1/topics/auth/passwords.html
Django 3.2 リリースノート 8484
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... 数が 216,000 から 260,000 に増加しました。 The default variant for the Argon2 password hasher is changed to Argon2id. memory_cost and parallelism are increased to 102,400 and 8 respectively to match the argon2-cffi defaults. Increasing the memory_cost ...
https://man.mtool.work/django/6.1/releases/3.2.html
Django のリリースプロセス 8106
Django のリリースプロセス フィーチャーリリース Feature releases contain new features, improvements to existing features, and other enhancements. Each version will be mostly backwards compatible with the previous release. Exceptions to this ... ill continue to have a few documented backwards incompatibilities where a deprecation path isn't possible or not worth the cost. Also, deprecations started in an LTS release ( X.2 ) will be dropped in a non-dot-zero release ( Y.1 ) to accommodate our ...
https://man.mtool.work/django/6.1/internals/release-process.html
翻訳 8106
翻訳 概要 Django プロジェクトを翻訳可能にするためには、Python コードやテンプレートに、多少のフックを加筆しなければなりません。このフックは 翻訳文字列 と呼ばれます。翻訳文字列は Django に「このテキストに対する翻訳が有効な場合、このテキストは ... ーカル変数に結びつける必要があります。たとえば、次のようにします: {% blocktranslate with amount = article.price %} That will cost $ {{ amount }} . {% endblocktranslate %} {% blocktranslate with myvar = value | filter %} This will have {{ myvar }} insid ... s. {% endblocktranslate %} より複雑な例: {% blocktranslate with amount = article.price count years = i.length %} That will cost $ {{ amount }} per year. {% plural %} That will cost $ {{ amount }} per {{ years }} years. {% endblocktranslate %} カウンタ ...
https://man.mtool.work/django/6.1/topics/i18n/translation.html
シグナル 8106
シグナル Django には "シグナルディスパッチャ" があり、フレームワークの他の場所でアクションが発生したときに、ほかのアプリケーションが通知を受けるのを助けてくれます。簡単に言うと、シグナルは特定の 送り手 が、あるアクションが発生したことを一連 ... e called using async_to_sync() when invoked via send() . Similar to the case for middleware , there is a small performance cost to adapting receivers in this way. Note that in order to reduce the number of sync/async calling-style switches within a s ...
https://man.mtool.work/django/6.1/topics/signals.html
QuerySet API リファレンス 7927
QuerySet API リファレンス このドキュメントでは、 QuerySet API の詳細を説明しています。 モデル と データベースクエリ ガイドにある説明を前提としていますので、このドキュメントを読む前にこの 2 つを読んでおくことをおすすめします。 このリファレン ... ter, fetching data ahead of time rather than triggering on-demand loading through the model instances' fetch mode , at the cost of a more complex initial query. 以下の例は、通常のルックアップと select_related() を用いたルックアップの違いを示しています ... たとえば、PostgreSQLを使う場合: >>> print ( Blog . objects . filter ( title = "My Blog" ) . explain ()) Seq Scan on blog (cost=0.00..35.50 rows=10 width=12) Filter: (title = 'My Blog'::bpchar) 出力はデータベースによって大きく異なります。 explain() は ... nt ( Blog . objects . filter ( title = "My Blog" ) . explain ( verbose = True , analyze = True )) Seq Scan on public.blog (cost=0.00..35.50 rows=10 width=12) (actual time=0.004..0.004 rows=10 loops=1) Output: id, title Filter: (blog.title = 'My Blog' ...
https://man.mtool.work/django/6.1/ref/models/querysets.html
Django 1.3 リリースノート 7927
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... atabase support, model validation, and a session-based messages framework. However, this focus on big features came at the cost of lots of smaller features. To compensate for this, the focus of the Django 1.3 development process has been on adding lo ...
https://man.mtool.work/django/6.1/releases/1.3.html
モデルフィールドリファレンス 7549
モデルフィールドリファレンス このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field のすべての API リファレンスが記載されています。 注釈 フィールドは django.db.models.fields に定義 ... ture of the JSON, which allows indexing but doesn't preserve the order of object keys. The trade-off is a small additional cost on writing to the jsonb field. JSONField uses jsonb . For more details, see PostgreSQL's documentation on JSON types . Ora ...
https://man.mtool.work/django/6.1/ref/models/fields.html
PREV 1 NEXT