... をシンプルにするため、 sqlparse 0.2.2+ との依存関係が必須となりました。 Django とともに自動的にインストールされます。 cached_property aliases ¶ In usage like: from django.utils.functional import cached_property class A : @cached_property def base ( self ): ... . Where the problem can be detected (Python 3.6 and later), such usage now raises TypeError: Cannot assign the same cached_property to two different names ('base' and 'alias'). Use this instead: import operator class A : ... alias = property ( operator . ... e ModelAdmin classes django.contrib.gis TransactionTestCase serialized data loading sqlparse is required dependency cached_property aliases Permissions for proxy models Merging of form Media assets その他 Features deprecated in 2.2 Model Meta.ordering wi ... ... をシンプルにするため、 sqlparse 0.2.2+ との依存関係が必須となりました。 Django とともに自動的にインストールされます。 cached_property aliases ¶ In usage like: from django.utils.functional import cached_property class A : @cached_property def base ( self ): ... . Where the problem can be detected (Python 3.6 and later), such usage now raises TypeError: Cannot assign the same cached_property to two different names ('base' and 'alias'). Use this instead: import operator class A : ... alias = property ( operator . ... e ModelAdmin classes django.contrib.gis TransactionTestCase serialized data loading sqlparse is required dependency cached_property aliases Permissions for proxy models Merging of form Media assets その他 Features deprecated in 2.2 Model Meta.ordering wi ... ... 含まれています。これにはデータベースの設定や、Django 固有のオプション、アプリケーション固有の設定が含まれます。 プロパティ (property) ¶ "managed attributes" としても知られる、 Python 2.2 以降の機能です。使い方は属性アクセスのようでありながら、実際はメソッ ... ド呼び出しをする小綺麗な書き方です。 詳しくは property を参照。 クエリセット (queryset) ¶ データベースから取得したいくつかの行の集まりを表すオブジェクトのこと。 詳しくは クエリを ... プレート Django データベース ビュー パターン model フィールド 属性 アプリケーション Model template ソフトウェア Python 固有 property クエリ スラグ 関連するページ モデル アプリケーション Django ドキュメント目次 Model クラスのリファレンス FAQ: データベースと ... ... 含まれています。これにはデータベースの設定や、Django 固有のオプション、アプリケーション固有の設定が含まれます。 プロパティ (property) ¶ "managed attributes" としても知られる、 Python 2.2 以降の機能です。使い方は属性アクセスのようでありながら、実際はメソッ ... ド呼び出しをする小綺麗な書き方です。 詳しくは property を参照。 クエリセット (queryset) ¶ データベースから取得したいくつかの行の集まりを表すオブジェクトのこと。 詳しくは クエリを ... ーワード モデル view テンプレート データベース ビュー パターン model 属性 アプリケーション Model template ソフトウェア 固有 property クエリ スラグ spring 仕方 用語集 具象 concrete 抽象 abstract 通常 カラム クイック検索 Last update: 2026年10月09日 « previo ... ... om/rss091 Atom1Feed ¶ class Atom1Feed ( SyndicationFeed ) [ソース] ¶ 仕様: RFC 4287 django.utils.functional ¶ class cached_property ( func ) [ソース] ¶ @cached_property デコレータは、単一の self 引数を持つメソッドの結果をプロパティとしてキャッシュします。 ... 場合、 friends() が2回呼び出されます。ビューとテンプレートのインスタンス person は同一なので、 friends() メソッドに @cached_property をつけることで、呼び出しの重複を回避できます。 from django.utils.functional import cached_property class Person ( models . ... Model ): @cached_property def friends ( self ): ... なお、メソッドがプロパティになったため、Pythonのコードからのアクセスが変わっていることに注意して ... ... om/rss091 Atom1Feed ¶ class Atom1Feed ( SyndicationFeed ) [ソース] ¶ 仕様: RFC 4287 django.utils.functional ¶ class cached_property ( func ) [ソース] ¶ @cached_property デコレータは、単一の self 引数を持つメソッドの結果をプロパティとしてキャッシュします。 ... 場合、 friends() が2回呼び出されます。ビューとテンプレートのインスタンス person は同一なので、 friends() メソッドに @cached_property をつけることで、呼び出しの重複を回避できます。 from django.utils.functional import cached_property class Person ( models . ... Model ): @cached_property def friends ( self ): ... なお、メソッドがプロパティになったため、Pythonのコードからのアクセスが変わっていることに注意して ... ... すブール値を返します。 GEOSGeometry. valid_reason ¶ ジオメトリが無効である理由を表す文字列を返します。 GEOSGeometry. srid ¶ Property that may be used to retrieve or set the SRID associated with the geometry. For example: >>> pnt = Point ( 5 , 23 ) >>> pri ... lue is not included in this representation because it is not a part of the OGC specification (use the GEOSGeometry.hexewkb property instead). GEOSGeometry. hexewkb ¶ Returns the EWKB of this Geometry in hexadecimal form. This is an extension of the WKB s ... ll-Known Binary) representation of this Geometry as a Python buffer. SRID value is not included, use the GEOSGeometry.ewkb property instead. GEOSGeometry. ewkb ¶ このジオメトリの EWKB 表現を Python バッファとして返します。これは、このジオメトリの一部であ ... ... すブール値を返します。 GEOSGeometry. valid_reason ¶ ジオメトリが無効である理由を表す文字列を返します。 GEOSGeometry. srid ¶ Property that may be used to retrieve or set the SRID associated with the geometry. For example: >>> pnt = Point ( 5 , 23 ) >>> pri ... lue is not included in this representation because it is not a part of the OGC specification (use the GEOSGeometry.hexewkb property instead). GEOSGeometry. hexewkb ¶ Returns the EWKB of this Geometry in hexadecimal form. This is an extension of the WKB s ... ll-Known Binary) representation of this Geometry as a Python buffer. SRID value is not included, use the GEOSGeometry.ewkb property instead. GEOSGeometry. ewkb ¶ このジオメトリの EWKB 表現を Python バッファとして返します。これは、このジオメトリの一部であ ... ... nctions that can be used with actions . Using the @display decorator has the advantage that it is now possible to use the @property decorator when needing to specify attributes on the custom method. Prior to this it was necessary to use the property() fu ... are improved. See シンタックスカラーリング for more details. マイグレーション ¶ The new Operation.migration_name_fragment property allows providing a filename fragment that will be used to name a migration containing only that operation. Migrations now ... のデータベースバックエンドで必要になる可能性のある変更について説明します。 The new DatabaseFeatures.introspected_field_types property replaces these features: can_introspect_autofield can_introspect_big_integer_field can_introspect_binary_field can_introsp ... ... INSTALLED_APPS . django.contrib.gis ¶ relate lookup is now supported on MariaDB. Added the LinearRing.is_counterclockwise property. AsGeoJSON is now supported on Oracle. Added the AsWKB and AsWKT functions. Added support for PostGIS 3 and GDAL 3. django ... Widget.widgets now accepts a dictionary which allows customizing subwidget name attributes. The new BoundField.widget_type property can be used to dynamically adjust form rendering based upon the widget type. 国際化 (internationalization) ¶ The LANGUAGE_ ... tabaseOperations.fetch_returned_insert_columns() now requires an additional returning_params argument. connection.timezone property is now 'UTC' by default, or the TIME_ZONE when USE_TZ is True on databases that support time zones. Previously, it was Non ... 2026年10月08日