per page, with , order by , clip by
Results of 1 - 10 of about 41 for tuple (0.017 sec.)
Django 6.1 release notes 11983
Django 6.1 release notes August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 6.0 or earlier. We've begun the ... defining the natural_key() method can now opt out of natural key serialization by overriding the method to return an empty tuple: () . This ensures primary keys are serialized when using dumpdata --natural-primary . The XML deserializer now raises Sus ... de this method to simply return the value. The DatabaseIntrospection.get_relations() should now return a dictionary with 3-tuples containing ( field_name_other_table , other_table , db_on_delete ) as values. db_on_delete is one of the database-level d ... ary_placeholder_sql() method now expects a query compiler as an extra positional argument and should return a two-elements tuple composed of an SQL format string and a tuple of associated parameters. The BaseSpatialOperations.get_geom_placeholder() me ...
https://man.mtool.work/django/6.1/releases/6.1.html
How to release Django 10973
How to release Django このドキュメントでは、Django のリリース方法について説明しています。 これらの手順を変更した場合は、最新の情報を保ってください! ここでのポイントは、規定を設けるのではなく、説明的であることです。自由に効率化したり、変更し ... it to be merged after the stable branch is cut. The following items should be addressed in this branch: Update the VERSION tuple in django/__init__.py , incrementing to the next expected release ( example commit ). Create a stub release note for the n ... ecurity commit ). Update the version number in django/__init__.py for the release. Please see notes on setting the VERSION tuple below for details on VERSION ( example commit ). If this is a pre-release package also update the "Development Status" tro ... blog post. Post-release You're almost done! All that's left to do now is: If this is not a pre-release, update the VERSION tuple in django/__init__.py again, incrementing to whatever the next expected release will be. For example, after releasing 4.1. ...
https://man.mtool.work/django/6.1/internals/howto-release-django.html
Django 6.0 release notes 10724
Django 6.0 release notes December 3, 2025 Welcome to Django 6.0! These release notes cover the new features , as well as some backwards incompatible changes you should be aware of when upgrading from Django 5.2 or earlier. We've begun the d ... o_field = 'django.db.models.AutoField' to an app's AppConfig , as needed. Custom ORM expressions should return params as a tuple Prior to Django 6.0, custom lookups and custom expressions implementing the as_sql() method (and its supporting methods pr ... ocess_lhs() and process_rhs() ) were allowed to return a sequence of params in either a list or a tuple. To address the interoperability problems that resulted, the second return element of the as_sql() method should now be a ... tuple: def as_sql ( self , compiler , connection ) -> tuple [ str , tuple ]: ... If your custom expressions support multiple versions of Django, you should adjust any pre-processing ...
https://man.mtool.work/django/6.1/releases/6.0.html
Django 4.1 リリースノート 10211
Django 4.1 リリースノート 2022年8月3日 Django 4.1 へようこそ! このリリースノートでは、 バージョン 4.1 の新機能 と、Django 4.0 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... QL 14+. The new default_bounds attribute of DateTimeRangeField and DecimalRangeField allows specifying bounds for list and tuple inputs. ExclusionConstraint now allows specifying operator classes with the OpClass() expression. django.contrib.sitemaps ... cify the minimum required version of the database using the DatabaseFeatures.minimum_database_version attribute which is a tuple (e.g. (10, 0) means "10.0"). If a minimum version is specified, backends must also implement DatabaseWrapper.get_database_ ... version() , which returns a tuple of the current database version. The backend's DatabaseWrapper.init_connection_state() method must call super() in order f ...
https://man.mtool.work/django/6.1/releases/4.1.html
Django の admin サイト 9962
Django の admin サイト Django のパワフルな特徴の1つは、自動的に生成される admin インタフェースです。あなたのモデルクラスからメタデータを読み取り、モデル中心のインタフェースを提供します。このインタフェースのおかげで、ユーザはあなたのサイトの ... と同じルールが適用されます: 呼び出し可能オブジェクトは readonly_fields 内でリスト化される必要があります。 classes A list or tuple containing extra CSS classes to apply to the fieldset. This can include any custom CSS class defined in the project, as we ... elated() メソッドを実装できます。 バージョン 6.1 で非推奨: Using True for list_select_related is deprecated. Use a list or tuple of field names instead. 注釈 ModelAdmin は select_related() がチェンジリストの QuerySet で既に呼び出されていた場合、この属 ... . readonly_fields デフォルトでは、すべてのフィールドが編集可能となっています。このオプションに含まれるフィールド ( list か tuple で指定します) は、データをそのまま表示するだけで編集できなくなります。また、追加と編集に使われる ModelForm からも除外されま ...
https://man.mtool.work/django/6.1/ref/contrib/admin/
Django 1.11.17 リリースノート 9962
Django 1.11.17 リリースノート December 3, 2018 Django 1.11.17 では、1.11.16 にあったいくつかのバグを修正し、Python 3.7 との互換性を追加しました。 バグ修正 Prevented repetitive calls to geos_version_tuple() in the WKBWriter class in an attem ...
https://man.mtool.work/django/6.1/releases/1.11.17.html
複合主キー 9698
複合主キー Django では、すべてのモデルに主キーが存在します。デフォルトでは、この主キーは単一のフィールドで構成されます。 ほとんどの場合、単一の主キーで十分です。しかし、データベース設計においては、複数のフィールドからなる主キーが必要になるこ ... れにより、Django はテーブル作成時に複合主キー( PRIMARY KEY (product_id, order_id) )を作成するようになります。 複合主キーは tuple (タプル)で表現されます: >>> product = Product . objects . create ( name = "apple" ) >>> order = Order . objects . create ... OrderLineItem . objects . create ( product = product , order = order , quantity = 1 ) >>> item . pk (1, "A755H") pk 属性に tuple を代入することで、対応するフィールドの値をまとめて設定できます: >>> item = OrderLineItem ( pk = ( 2 , "B142C" )) >>> item ... . pk (2, "B142C") >>> item . product_id 2 >>> item . order_id "B142C" 複合主キーは、 tuple を使ってフィルタリングできます: >>> OrderLineItem . objects . filter ( pk = ( 1 , "A755H" )) . count () 1 リレーションシッ ...
https://man.mtool.work/django/6.1/topics/composite-primary-key.html
GDAL API 9449
GDAL API 概要 GDAL stands for Geospatial Data Abstraction Library , and is a veritable "Swiss army knife" of GIS data functionality. A subset of GDAL is the OGR Simple Features Library, which specializes in reading and writing vector geogra ... field_precisions [0, 0, 15, 0] extent このレイヤーの空間範囲を Envelope オブジェクトとして返します。 >>> layer . extent . tuple (-104.609252, 29.763374, -95.23506, 38.971823) srs このレイヤーに関連付けられた SpatialReference を返すプロパティ: >>> pri ... オメトリは GEOSGeometry オブジェクトに変換されます。そうでない場合は、 OGRGeometry オブジェクトとして返されます: >>> [ pt . tuple for pt in layer . get_geoms ()] [(-104.609252, 38.255001), (-95.23506, 38.971823), (-95.363151, 29.763374)] test_capabilit ... をイテレートすることもできます。 geom このフィーチャのジオメトリを OGRGeometry オブジェクトとして返します: >>> city . geom . tuple (-104.609252, 38.255001) get このフィーチャーのフィールド (名前で指定) の値を返すメソッドで、 Field ラッパーオブジェクト で ...
https://man.mtool.work/django/6.1/ref/contrib/gis/gdal.html
Django 2.1.4 リリースノート 9449
Django 2.1.4 リリースノート December 3, 2018 Django 2.1.4 では、2.1.3 にあったいくつかのバグを修正しました。 バグ修正 Corrected the default password list that CommonPasswordValidator uses by lowercasing all passwords to match the format exp ... ected by the validator ( #29952 ). Prevented repetitive calls to geos_version_tuple() in the WKBWriter class in an attempt to fix a random crash involving LooseVersion ( #29959 ). Fixed keep-alive support i ...
https://man.mtool.work/django/6.1/releases/2.1.4.html
Django 2.0.10 リリースノート 9201
Django 2.0.10 リリースノート January 4, 2019 Django 2.0.10 fixes a security issue and several bugs in 2.0.9. CVE-2019-3498: Content spoofing possibility in the default 404 page An attacker could craft a malicious URL that could make spoofed ... is now quoted to fix the issue for custom templates that use the path. バグ修正 Prevented repetitive calls to geos_version_tuple() in the WKBWriter class in an attempt to fix a random crash involving LooseVersion since Django 2.0.6 ( #29959 ). Fixed a ...
https://man.mtool.work/django/6.1/releases/2.0.10.html
PREV 1 2 3 4 5 NEXT