... w" according to the Django security policy . CVE-2026-15830: Potential denial-of-service vulnerability via nested geometry collections GEOSGeometry was subject to a potential denial-of-service attack when provided deeply nested GEOMETRYCOLLECTION objects, l ... eading to a segmentation fault in GEOS. A maximum depth of 198 GEOMETRYCOLLECTION s is now enforced for the well-known text (WKT) format, and a maximum number of 198 GEOMETRYCOLLECTION s in total (breadth ... t spatial fields and the GeometryField form field were also affected. The limit can be customized through the new max_geom_collections argument, available on GEOSGeometry , the form field , and the model field . The limit is not applied to GeoJSON inputs, a ... ... w" according to the Django security policy . CVE-2026-15830: Potential denial-of-service vulnerability via nested geometry collections GEOSGeometry was subject to a potential denial-of-service attack when provided deeply nested GEOMETRYCOLLECTION objects, l ... eading to a segmentation fault in GEOS. A maximum depth of 198 GEOMETRYCOLLECTION s is now enforced for the well-known text (WKT) format, and a maximum number of 198 GEOMETRYCOLLECTION s in total (breadth ... t spatial fields and the GeometryField form field were also affected. The limit can be customized through the new max_geom_collections argument, available on GEOSGeometry , the form field , and the model field . The limit is not applied to GeoJSON inputs, a ... ... 要はありません。この属性はフィールドクラスに応じて設定されるべきです。これはOpenGIS標準のジオメトリ名に一致します。 max_geom_collections Field. max_geom_collections The maximum number of geometry collections the field accepts before refusing to parse the inpu ... ... e section below for more details. 注釈 ジオグラフィのサポートは PostGIS に限定され、SRID が 4326 に強制されます。 max_geom_collections GeometryField. max_geom_collections This option is forwarded to the form field generated for this model field, bounding th ... ... # different SRIDs False ジオメトリ・オブジェクト GEOSGeometry class GEOSGeometry ( geo_input , srid = None , * , max_geom_collections = 198 ) [ソース] パラメータ : geo_input -- ジオメトリ入力値 (文字列または memoryview ) srid ( int ) -- 空間参照識別子 max_ ... geom_collections -- maximum number of nested geometry collections accepted before parsing is refused This is the base class for all GEOS ge ... ometry. num_geom Returns the number of geometries in this geometry. In other words, will return 1 on anything but geometry collections. GEOSGeometry. hasz Returns a boolean indicating whether the geometry has the Z dimension. GEOSGeometry. hasm New in Djang ... ... licy . バグ修正 Fixed a class of bugs in Django 5.2.17 that allowed bypassing the depth limiter for deeply nested geometry collections ( CVE 2026-15830 ). The new algorithm treats WKB and WKT inputs more consistently and also fixes a rare case where a valid ... ... olicy . バグ修正 Fixed a class of bugs in Django 6.0.8 that allowed bypassing the depth limiter for deeply nested geometry collections ( CVE 2026-15830 ). The new algorithm treats WKB and WKT inputs more consistently and also fixes a rare case where a valid ... ... policy . バグ修正 Fixed a class of bugs in Django 6.1 that allowed bypassing the depth limiter for deeply nested geometry collections ( CVE 2026-15830 ). The new algorithm treats WKB and WKT inputs more consistently and also fixes a rare case where a valid ... ... ion ] return [ dict ( zip ( columns , row )) for row in cursor . fetchall ()] 別の選択肢は Python 標準ライブラリに含まれる collections.namedtuple() を利用する事です。 namedtuple は属性を指定して値へのアクセスが可能なタプルに似たオブジェクトです; 加えてインデ ... クスが利用でき、イテレート可能でもあります。取得した結果は不変であり属性名もしくはインデックスでアクセスできて便利です: from collections import namedtuple def namedtuplefetchall ( cursor ): """ Return all rows from a cursor as a namedtuple. Assume the column ... ... 'a' or 'an' . django.contrib.gis Support for PostGIS 2.2 is removed. The Oracle backend now clones polygons (and geometry collections containing polygons) before reorienting them and saving them to the database. They are no longer mutated in place. You mig ... 2026年10月08日