per page, with , order by , clip by
Results of 1 - 10 of about 45 for property (0.006 sec.)
Django 2.2 リリースノート 11728
Django 2.2 リリースノート April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... をシンプルにするため、 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 ): r ... . 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 . ...
https://man.mtool.work/django/6.1/releases/2.2.html
Django ユーティリティ (django.utils) 11162
Django ユーティリティ ( django.utils ) このドキュメントは、 django.utils のすべての安定したモジュールを対象としています。 django.utils 内のほとんどのモジュールは内部使用を目的としていることから、 内部リリース非推奨ポリシー に従い、以下に記載 ... land.com/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のコードからのアクセスが変わっていることに注意して ...
https://man.mtool.work/django/6.1/ref/utils.html
用語集 10304
用語集 具象モデル (concrete model) 抽象モデルでないモデル ( abstract=False ) のこと。 フィールド (field) model の属性の1つで、与えられたフィールドは通常1つのデータベースのカラムと1対1に対応します。 詳しくは モデル を参照。 ジェネリックビュー ... 含まれています。これにはデータベースの設定や、Django 固有のオプション、アプリケーション固有の設定が含まれます。 プロパティ (property) "managed attributes" としても知られる、 Python 2.2 以降の機能です。使い方は属性アクセスのようでありながら、実際はメソッド ... 呼び出しをする小綺麗な書き方です。 詳しくは property を参照。 クエリセット (queryset) データベースから取得したいくつかの行の集まりを表すオブジェクトのこと。 詳しくは クエリを作 ...
https://man.mtool.work/django/6.1/glossary.html
GEOS API 10013
GEOS API 背景 GEOS とは? GEOS stands for Geometry Engine - Open Source , and is a C++ library, ported from the Java Topology Suite . GEOS implements the OpenGIS Simple Features for SQL spatial predicate functions and spatial operators. GEOS ... を示すブール値を返します。 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 spe ... 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 バッファとして返します。これは、このジオメトリの一部である ...
https://man.mtool.work/django/6.1/ref/contrib/gis/geos.html
Django 1.7.6 リリースノート 9738
Django 1.7.6 リリースノート March 9, 2015 Django 1.7.6 fixes a security issue and several bugs in 1.7.5. Mitigated an XSS attack via properties in ModelAdmin.readonly_fields The ModelAdmin.readonly_fields attribute in the Django admin allow ... SS attacks. In this vulnerability, every model attribute used in readonly_fields that is not an actual model field (e.g. a property ) will fail to be escaped even if that attribute is not marked as safe. In this release, autoescaping is now correctly app ...
https://man.mtool.work/django/6.1/releases/1.7.6.html
Django 2.1.9 リリースノート 9447
Django 2.1.9 リリースノート June 3, 2019 Django 2.1.9 fixes security issues in 2.1.8. CVE-2019-12308: AdminURLFieldWidget XSS The clickable "Current URL" link generated by AdminURLFieldWidget displayed the provided value without validating ... nd(true, {}, ...) because of Object.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 ...
https://man.mtool.work/django/6.1/releases/2.1.9.html
Django 3.1 リリースノート 9447
Django 3.1 リリースノート August 4, 2020 Django 3.1 へようこそ! このリリースノートでは、 バージョン 3.1 の新機能 と、Django 3.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。 非推奨サイクルが終了した機能 ... om 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_CO ... 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 ...
https://man.mtool.work/django/6.1/releases/3.1.html
Django 3.2 リリースノート 9447
Django 3.2 リリースノート April 6, 2021 Django 3.2 へようこそ! このリリースノートでは、 バージョン 3.2 の新機能 と、Django 3.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... 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 ... es 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 ...
https://man.mtool.work/django/6.1/releases/3.2.html
Django の admin サイト 9156
Django の admin サイト Django のパワフルな特徴の1つは、自動的に生成される admin インタフェースです。あなたのモデルクラスからメタデータを読み取り、モデル中心のインタフェースを提供します。このインタフェースのおかげで、ユーザはあなたのサイトの ... models . Model ): first_name = models . CharField ( max_length = 50 ) last_name = models . CharField ( max_length = 50 ) @property @admin . display ( ordering = "last_name" , description = "Full name of the person" , boolean = False , ) def full_name ( ... f . first_name + " " + self . last_name class PersonAdmin ( admin . ModelAdmin ): list_display = [ "full_name" ] ただし、 @property は @display より上でなければなりません。 display() デコレータを使用するのではなく、直接表示関連の属性を設定する古い方法を使 ... 用している場合は、 @property デコレータではなく、 property() 関数を使用しなければならないことに注意してください。 def my_property ( self ): return self ...
https://man.mtool.work/django/6.1/ref/contrib/admin/
Django 5.2.16 release notes 9156
Django 5.2.16 release notes July 7, 2026 Django 5.2.16 fixes three security issues with severity "low" in 5.2.15. CVE-2026-48588: Potential exposure of private data via cached Set-Cookie response UpdateCacheMiddleware and cache_page() avoid ... er over-read in GDALRaster When GDALRaster was instantiated with a bytes object representing a raster file, the vsi_buffer property could over-read the allocated buffer by approximately 32 bytes. This could result in information disclosure of adjacent he ...
https://man.mtool.work/django/6.1/releases/5.2.16.html
PREV 1 2 3 4 5 NEXT