... しているように、この属性の内容のpickle化・pickle化の解除は安全に行うことができます(完全にサポートもされています)。 QuerySet.values_list() における制限 pickle化された query 属性を使って QuerySet.values_list() を再生成すると、返り値は QuerySet.values() に ... 置き換えられます: >>> import pickle >>> qs = Blog . objects . values_list ( "id" , "name" ) >>> qs <QuerySet [(1, 'Beatles Blog')]> >>> reloaded_qs = Blog . objects . all () >>> reloaded_qs . ... ed to execute more complex queries (for example, queries with OR statements), you can use Q() オブジェクト ( *args ). NULL values and three-valued logic When passing a QuerySet to the in lookup, ensure the subquery does not return NULL values. See this ... ... しているように、この属性の内容のpickle化・pickle化の解除は安全に行うことができます(完全にサポートもされています)。 QuerySet.values_list() における制限 pickle化された query 属性を使って QuerySet.values_list() を再生成すると、返り値は QuerySet.values() に ... 置き換えられます: >>> import pickle >>> qs = Blog . objects . values_list ( "id" , "name" ) >>> qs <QuerySet [(1, 'Beatles Blog')]> >>> reloaded_qs = Blog . objects . all () >>> reloaded_qs . ... ed to execute more complex queries (for example, queries with OR statements), you can use Q() オブジェクト ( *args ). NULL values and three-valued logic When passing a QuerySet to the in lookup, ensure the subquery does not return NULL values. See this ... ... s() function now uses Python's email.message.Message for parsing. As a result, parsing of some malformed or unusual header values may differ, for example, RFC 2231 values with a missing encoding are now decoded. This issue has severity "moderate" accor ... ding to the Django security policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values ¶ Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . ... Although these values were opened through GDAL's in-memory virtual filesystem, they could contain a VRT document referencing an external raster ... ... s() function now uses Python's email.message.Message for parsing. As a result, parsing of some malformed or unusual header values may differ, for example, RFC 2231 values with a missing encoding are now decoded. This issue has severity "moderate" accor ... ding to the Django security policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values ¶ Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . ... Although these values were opened through GDAL's in-memory virtual filesystem, they could contain a VRT document referencing an external raster ... ... s() function now uses Python's email.message.Message for parsing. As a result, parsing of some malformed or unusual header values may differ, for example, RFC 2231 values with a missing encoding are now decoded. This issue has severity "moderate" accor ... ding to the Django security policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values ¶ Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . ... Although these values were opened through GDAL's in-memory virtual filesystem, they could contain a VRT document referencing an external raster ... ... s() function now uses Python's email.message.Message for parsing. As a result, parsing of some malformed or unusual header values may differ, for example, RFC 2231 values with a missing encoding are now decoded. This issue has severity "moderate" accor ... ding to the Django security policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values ¶ Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . ... Although these values were opened through GDAL's in-memory virtual filesystem, they could contain a VRT document referencing an external raster ... ... s() function now uses Python's email.message.Message for parsing. As a result, parsing of some malformed or unusual header values may differ, for example, RFC 2231 values with a missing encoding are now decoded. This issue has severity "moderate" accor ... ding to the Django security policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values ¶ Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . ... Although these values were opened through GDAL's in-memory virtual filesystem, they could contain a VRT document referencing an external raster ... ... s() function now uses Python's email.message.Message for parsing. As a result, parsing of some malformed or unusual header values may differ, for example, RFC 2231 values with a missing encoding are now decoded. This issue has severity "moderate" accor ... ding to the Django security policy . CVE-2026-87890: Potential request forgery via spatial lookup byte values ¶ Spatial lookups accepted raster values provided as bytes without requiring them to be explicitly wrapped in GDALRaster . ... Although these values were opened through GDAL's in-memory virtual filesystem, they could contain a VRT document referencing an external raster ... ... 次のようなクエリを使います: >>> Book . objects . annotate ( num_authors = Count ( "authors" )) . order_by ( "num_authors" ) values() ¶ 通常、アノテーションはオブジェクトごとに生成されます。アノテーションを付けた QuerySet は、元の QuerySet の各オブジェク ... トに対して1つの結果を返します。しかし、 values() 句を使って結果セットで返されるカラムを制限している場合は、アノテーションを付けるしくみが少し異なります。元の QuerySet の ... 各結果に対してアノテーションを付ける代わりに、元の結果は values() 句で指定されたフィールドの一意な組み合わせに従ってグループ化されます。アノテーションはグループのすべてのメンバに対して計 ... ... 次のようなクエリを使います: >>> Book . objects . annotate ( num_authors = Count ( "authors" )) . order_by ( "num_authors" ) values() ¶ 通常、アノテーションはオブジェクトごとに生成されます。アノテーションを付けた QuerySet は、元の QuerySet の各オブジェク ... トに対して1つの結果を返します。しかし、 values() 句を使って結果セットで返されるカラムを制限している場合は、アノテーションを付けるしくみが少し異なります。元の QuerySet の ... 各結果に対してアノテーションを付ける代わりに、元の結果は values() 句で指定されたフィールドの一意な組み合わせに従ってグループ化されます。アノテーションはグループのすべてのメンバに対して計 ... 2026年10月08日