... bject.prototype pollution. If an unsanitized source object contained an enumerable __proto__ property, it could extend the native Object.prototype . The bundled version of jQuery used by the Django admin has been patched to allow for the select2 librar ... ... hon 標準ライブラリの一部となりました。 特定の問題と格闘している場合は、 タイムゾーンの FAQ を参照してください。 コンセプト native と aware の日時オブジェクト Python の datetime.datetime のオブジェクトには、タイムゾーン情報を保持するために使える tzinfo ... の場合は naive (タイムゾーンを意識しない素朴な日時) となります。 is_aware() is_naive() を使って、datatime を aware にするか native にするかを決めることもできます。 タイムゾーンのサポートが無効になっている場合、 Django はローカル時間の naive な datetime ... ime オブジェクトを保存しようとすると例外を投げます。これは、日付を伴わない時刻に対するタイムゾーンには意味がないからです。 native な datetime オブジェクトの変換 後方互換性を維持するため、 USE_TZ が True のときでも、Django は naive な datetime オブジェク ... ... 節ではPGRasterと表記) のみでサポートされています。 bbcontains 利用可能なDB : PostGIS , MariaDB, MySQL, SpatiaLite, PGRaster (Native) ジオメトリまたはラスタフィールドのバウンディングボックスが、ルックアップジオメトリのバウンディングボックスを完全に含むかど ... s(poly, geom) SpatiaLite MbrContains(poly, geom) bboverlaps 利用可能なDB : PostGIS , MariaDB, MySQL, SpatiaLite, PGRaster (Native) ジオメトリフィールドのバウンディングボックスが、ルックアップジオメトリのバウンディングボックスと重なるかどうかをテストしま ... ps(poly, geom) SpatiaLite MbrOverlaps(poly, geom) contained 利用可能なDB : PostGIS , MariaDB, MySQL, SpatiaLite, PGRaster (Native) ジオメトリフィールドのバウンディングボックスがルックアップジオメトリのバウンディングボックスに完全に含まれるかどうかをテス ... ... bject.prototype pollution. If an unsanitized source object contained an enumerable __proto__ property, it could extend the native Object.prototype . The bundled version of jQuery used by the Django admin has been patched to allow for the select2 librar ... ... rt, into 31 languages. From Arabic to Chinese to Hungarian to Welsh, it is now possible to use Django's admin site in your native language. The number of changes required to port from 0.91-compatible code to the 0.95 code base are significant in some c ... ... eld output field crashed or returned an incorrect result when used in a top-level JSONField in lookup on databases without native JSON support ( #37377 ). ... ... instance, but not when read from a database. It defaults to 198 . ジオグラフィ (Geography) 型 The geography type provides native support for spatial features represented with geographic coordinates (e.g., WGS84 longitude/latitude). [ 6 ] Unlike the pl ... ... eField to the first day of a quarter. Added the db_tablespace parameter to class-based indexes. If the database supports a native duration field (Oracle and PostgreSQL), Extract now works with DurationField . Added the of argument to QuerySet.select_fo ... r/text field with PostgreSQL. 2.0 における後方互換性のない変更 いくつかの場所におけバイト文字列のサポートの削除 To support native Python 2 strings, older Django versions had to accept both bytestrings and Unicode strings. Now that Python 2 support is d ... ... at makes it easier to issue redirects given an object, a view name, or a URL. The postgresql_psycopg2 backend now supports native PostgreSQL autocommit . This is an advanced, PostgreSQL-specific feature, that can make certain read-heavy applications a ... ... documentation . New data types Django now has a UUIDField for storing universally unique identifiers. It is stored as the native uuid data type on PostgreSQL and as a fixed length character field on other backends. There is a corresponding form field ... . Django now has a DurationField for storing periods of time - modeled in Python by timedelta . It is stored in the native interval data type on PostgreSQL, as a INTERVAL DAY(9) TO SECOND(6) on Oracle, and as a bigint of microseconds on other ba ... TP EmailBackend now supports setting the timeout parameter with the EMAIL_TIMEOUT setting. EmailMessage and EmailMultiAlternatives now support the reply_to parameter. ファイルストレージ Storage.get_available_name() and Storage.save() now take a max_len ... 2026年10月08日