per page, with , order by , clip by
Results of 1 - 10 of about 11 for ForeignObject (0.003 sec.)
複合主キー 12340
複合主キー Django では、すべてのモデルに主キーが存在します。デフォルトでは、この主キーは単一のフィールドで構成されます。 ほとんどの場合、単一の主キーで十分です。しかし、データベース設計においては、複数のフィールドからなる主キーが必要になるこ ... dels . CASCADE ) これは、現在 ForeignKey が複合主キーを持つモデルを参照できないためです。 この制限を回避するには、代わりに ForeignObject が使えます: class Foo ( models . Model ): item_order_id = models . CharField ( max_length = 20 ) item_product_id = models ... . IntegerField () item = models . ForeignObject ( OrderLineItem , on_delete = models . CASCADE , from_fields = ( "item_order_id" , "item_product_id" ), to_fields = ( "ord ... er_id" , "product_id" ), ) ForeignObject は ForeignKey によく似ていますが、データベース上にカラム (例: item_id )、外部キー制約、インデックスなどを作成しない点、 on ...
https://man.mtool.work/django/6.1/topics/composite-primary-key.html
Django 5.2.6 リリースノート 10989
Django 5.2.6 リリースノート 2025年9月3日 Django 5.2.6 では 5.2.5 における深刻度 "high" のセキュリティの問題とバグを修正しました。 CVE-2025-57833: FilteredRelation の列エイリアスにおける潜在的な SQL インジェクション :class:.`FilteredRelation ... 用することで悪用される可能性がありました。 バグ修正 QuerySet.values() または values_list() を、複数のフィールドで構成される ForeignObject と共に使用した際に、参照されるフィールドのタプルではなく誤った結果を返していたバグを修正しました( #36431 )。 ...
https://man.mtool.work/django/6.1/releases/5.2.6.html
Django 6.0 release notes 10544
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 ... n't support it (MySQL and MariaDB), the fields are marked as deferred to trigger a refresh on subsequent accesses. Using a ForeignObject with multiple from_fields in Model indexes, constraints, or unique_together now emits a system check error. ページネーショ ... ango.db.models.sql.datastructures.Join no longer falls back to get_joining_columns() . The get_joining_columns() method of ForeignObject and ForeignObjectRel is removed. The ForeignObject.get_reverse_joining_columns() method is removed. Support for cx_Oracle ...
https://man.mtool.work/django/6.1/releases/6.0.html
Django 1.9.1 リリースノート 9655
Django 1.9.1 リリースノート January 2, 2016 Django 1.9.1 では、1.9 にあったいくつかのバグを修正しました。 バグ修正 Fixed BaseCache.get_or_set() with the DummyCache backend ( #25840 ). Fixed a regression in FormMixin causing forms to be vali ... . Restored the functionality of the admin's list_editable add and change buttons ( #25903 ). Fixed isnull query lookup for ForeignObject ( #25972 ). Fixed a regression in the admin which ignored line breaks in read-only fields instead of converting them to <b ...
https://man.mtool.work/django/6.1/releases/1.9.1.html
Django 1.9.3 リリースノート 8766
Django 1.9.3 リリースノート March 1, 2016 Django 1.9.3 fixes two security issues and several bugs in 1.9.2. CVE-2016-2512: Malicious redirect and possible XSS attack via user-supplied redirect URLs containing basic auth Django relies on use ... 。 隠された関係のクエリ名のクラッシュに対するシステムチェックを追加しました ( #26162 )。 Fixed a regression for cases where ForeignObject.get_extra_descriptor_filter() returned a Q object ( #26153 ). Fixed regression with an __in=qs lookup for a ForeignKey wit ...
https://man.mtool.work/django/6.1/releases/1.9.3.html
Django 5.2.2 リリースノート 8766
Django 5.2.2 リリースノート 2025年6月4日 Django 5.2.2 では、 5.2.1 における深刻度 "low" のセキュリティの問題1件と、いくつかのバグを修正しました。 CVE-2025-48432: エスケープされていないリクエストのパスを通じた潜在的なログインジェクション 内部 ... いてすべての位置指定のフォーマット引数をエスケープするようになりました。 バグ修正 CompositePrimaryKey を持つモデルに由来する ForeignObject に対して select_related を使用した際に発生していたクラッシュを修正しました( #36373 )。 Django 5.2 において、 "pk" を使用 ...
https://man.mtool.work/django/6.1/releases/5.2.2.html
Django 1.6.3 リリースノート 8321
Django 1.6.3 リリースノート April 21, 2014 Django 1.6.3 fixes several bugs in 1.6.2, including three security issues, and makes one backwards-incompatible change: Unexpected code execution using reverse() Django's URL handling is based on a ... s now properly decoded from its default iso-8859-1 encoding ( #21996 ). Fixed AttributeError when using bulk_create() with ForeignObject ( #21566 ). Fixed crash of QuerySet s that use F() + timedelta() when their query was compiled more once ( #21643 ). Preve ...
https://man.mtool.work/django/6.1/releases/1.6.3.html
Django 5.0 リリースノート 7859
Django 5.0 リリースノート 2023年12月4日 Django 5.0 へようこそ! このリリースノートでは、 バージョン 5.0 の新機能 と、Django 4.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... dmin.lookup_allowed() のシグネチャに追加されました。この引数を受け入れない ModelAdmin のサブクラスのサポートは非推奨です。 ForeignObject と ForeignObjectRel の get_joining_columns() メソッドは非推奨です。Django 6.0 から、 django.db.models.sql.datastructures.J ... t_joining_columns() へのフォールバックを行わなくなります。サブクラスでは代わりに get_joining_fields() を実装するべきです。 ForeignObject.get_reverse_joining_columns() メソッドは非推奨になりました。 The default scheme for forms.URLField will change from "http" ...
https://man.mtool.work/django/6.1/releases/5.0.html
Django の機能廃止のタイムライン 7415
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... 須となります。 django.db.models.sql.datastructures.Join は、これ以降 get_joining_columns() にフォールバックしなくなります。 ForeignObject と ForeignObjectRel のメソッド get_joining_columns() は削除されます。 ForeignObject.get_reverse_joining_columns() メソッド ...
https://man.mtool.work/django/6.1/internals/deprecation.html
Django 4.0 リリースノート 6970
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... property of django.db.models.sql.query.Query and the where_class argument to the private get_extra_restriction() method of ForeignObject and ForeignObjectRel are removed. If needed, initialize django.db.models.sql.where.WhereNode instead. The filter_clause ar ...
https://man.mtool.work/django/6.1/releases/4.0.html
PREV 1 2 NEXT