... to the backend, InvalidTask is raised. See enqueueing Tasks for usage examples. aenqueue ( * args , ** kwargs ) The async variant of enqueue . get_result ( result_id ) [ソース] Retrieves a result by its id. If the result does not exist, TaskResultDoesN ... If the backend does not support get_result() , NotImplementedError is raised. aget_result ( * args , ** kwargs ) The async variant of get_result . Task context class TaskContext [ソース] Contains context for the running Task . Context only passed to a T ... values for usage examples. refresh () [ソース] Refresh the result's attributes from the queue store. arefresh () The async variant of TaskResult.refresh() . is_finished [ソース] Whether the Task has finished (successfully or not). attempts [ソース] The ... ... がありました。 組み込みの Storage サブクラスは、この脆弱性の影響を受けませんでした。 CVE-2024-39614: get_supported_language_variant() における潜在的なサービス拒否(DoS)脆弱性 get_supported_language_variant() は、特定の文字を含む非常に長い文字列で使用され ... た場合、潜在的なサービス拒否攻撃の対象となる可能性がありました。 この脆弱性を緩和するために、 get_supported_language_variant() に渡される言語コードは、現在最大500文字まで解析されるようになりました。 言語コードが500文字を超える場合、 strict が True ... ... がありました。 組み込みの Storage サブクラスは、この脆弱性の影響を受けませんでした。 CVE-2024-39614: get_supported_language_variant() における潜在的なサービス拒否(DoS)脆弱性 get_supported_language_variant() は、特定の文字を含む非常に長い文字列で使用され ... た場合、潜在的なサービス拒否攻撃の対象となる可能性がありました。 この脆弱性を緩和するために、 get_supported_language_variant() に渡される言語コードは、現在最大500文字まで解析されるようになりました。 言語コードが500文字を超える場合、 strict が True ... ... data loss issue in 4.0. CVE-2026-77050: Potential denial-of-service vulnerability in get_supported_language_variant() get_supported_language_variant() was subject to a potential denial-of-service attack when processing many distinct, very ... ... a loss issue in 4.0. CVE-2026-77050: Potential denial-of-service vulnerability in get_supported_language_variant() get_supported_language_variant() was subject to a potential denial-of-service attack when processing many distinct, very ... ... oop in 5.2, and several bugs in 6.1.1. CVE-2026-77050: Potential denial-of-service vulnerability in get_supported_language_variant() get_supported_language_variant() was subject to a potential denial-of-service attack when processing many distinct, very ... ... and PostgreSQL when adding a check constraint with a contains , startswith , or endswith lookup (or their case-insensitive variant) ( #30408 ). Fixed a migration crash on Oracle and SQLite when adding a check constraint with condition contains | ( OR ) ... ... the Django source. 非同期サポート Django has developing support for asynchronous Task backends. BaseTaskBackend has async variants of all base methods. By convention, the asynchronous versions of all methods are prefixed with a . The arguments for both ... variants are the same. Retrieving backends Backends can be retrieved using the task_backends connection handler: from django.tasks ... sult of the Task once it has finished executing. To enqueue Tasks in an async context, aenqueue() is available as an async variant of enqueue() . Because both Task arguments and return values are serialized to JSON, they must be JSON-serializable: >>> p ... ... fies on_delete=DB_SET_DEFAULT , but has no db_default value. fields.E323 : Field specifies database/Python-level on_delete variant, but referenced/auto-created intermediary model uses python/database-level variant. fields.E324 : <database> does not supp ... ートされていません。 models.E050 : The model cannot have related fields with both database-level and Python-level on_delete variants. 管理コマンド 以下のチェックは、カスタム管理コマンドが正しく設定されているかどうかを検証します。 commands.E001 : migrate ... E005 : モデルの名前は最大100文字でなければなりません。 contenttypes.E006 : <field> cannot use the database-level on_delete variant. gis The following checks are performed when using django.contrib.gis : gis.W001 : The installed version of GDAL does not ... ... e created in a different manner than regular database indexes. Specifically, spatial indexes are typically created using a variant of the R-Tree, while regular database indexes typically use B-Trees. ジオメトリフィールドのオプション ジオメトリフィールド ... 2026年10月08日