per page, with , order by , clip by
Results of 1 - 10 of about 90 for parent (0.003 sec.)
Django 2.1.15 リリースノート — Django 6.1 ドキュメント 12668
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.1.15 リリースノート ¶ 2019年12月2日 Django 2.1.15 は 2.1.14 に含まれるセキュリティ脆弱性とデータ損失のバグを修正しています。 CVE-2019-19118 ... : Privilege escalation in the Django admin. ¶ Since Django 2.1, a Django model admin displaying a parent model with related model inlines, where the user has view-only permissions to a parent model but edit permissions to the i ... nline model, would display a read-only view of the parent model but editable forms for the inline. Submitting these forms would not allow direct edits to the parent model, but woul ... d trigger the parent model's save() method, and cause pre and post-save signal handlers to be invoked. This is a privilege escalation as a user ...
https://man.mtool.work/django/6.1/releases/2.1.15.html
Django 2.2.8 リリースノート — Django 6.1 ドキュメント 12414
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2.8 リリースノート ¶ 2019年12月2日 Django 2.2.8 fixes a security issue, several bugs in 2.2.7, and adds compatibility with Python 3.8. CVE- ... 2019-19118: Privilege escalation in the Django admin. ¶ Since Django 2.1, a Django model admin displaying a parent model with related model inlines, where the user has view-only permissions to a parent model but edit permissions to the i ... nline model, would display a read-only view of the parent model but editable forms for the inline. Submitting these forms would not allow direct edits to the parent model, but woul ... d trigger the parent model's save() method, and cause pre and post-save signal handlers to be invoked. This is a privilege escalation as a user ...
https://man.mtool.work/django/6.1/releases/2.2.8.html
Django 2.1.15 リリースノート — Django 6.1 ドキュメント 12334
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.1.15 リリースノート ¶ 2019年12月2日 Django 2.1.15 は 2.1.14 に含まれるセキュリティ脆弱性とデータ損失のバグを修正しています。 CVE-2019-19118 ... : Privilege escalation in the Django admin. ¶ Since Django 2.1, a Django model admin displaying a parent model with related model inlines, where the user has view-only permissions to a parent model but edit permissions to the i ... nline model, would display a read-only view of the parent model but editable forms for the inline. Submitting these forms would not allow direct edits to the parent model, but woul ... d trigger the parent model's save() method, and cause pre and post-save signal handlers to be invoked. This is a privilege escalation as a user ...
https://man.mtool.work/django/6.1/releases/2.1.15.html
Django 2.2.8 リリースノート — Django 6.1 ドキュメント 12161
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.2.8 リリースノート ¶ 2019年12月2日 Django 2.2.8 fixes a security issue, several bugs in 2.2.7, and adds compatibility with Python 3.8. CVE- ... 2019-19118: Privilege escalation in the Django admin. ¶ Since Django 2.1, a Django model admin displaying a parent model with related model inlines, where the user has view-only permissions to a parent model but edit permissions to the i ... nline model, would display a read-only view of the parent model but editable forms for the inline. Submitting these forms would not allow direct edits to the parent model, but woul ... d trigger the parent model's save() method, and cause pre and post-save signal handlers to be invoked. This is a privilege escalation as a user ...
https://man.mtool.work/django/6.1/releases/2.2.8.html
素の SQL 文の実行 — Django 6.1 ドキュメント 8094
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 素の SQL 文の実行 ¶ Django gives you three ways of performing raw SQL queries: you can embed raw SQL fragments into ORM queries using RawSQL (see Ra ... カーソルは区別できないため、一意な列名を想定しています。 この3つの違いの例を挙げましょう: >>> cursor . execute ( "SELECT id, parent_id FROM test LIMIT 2" ) >>> cursor . fetchall () ((54360982, None), (54360880, None)) >>> cursor . execute ( "SELECT id, p ... arent_id FROM test LIMIT 2" ) >>> dictfetchall ( cursor ) [{'parent_id': None, 'id': 54360982}, {'parent_id': None, 'id': 54360880}] >>> cursor . execute ( "SELECT id, parent_id FROM test LI ... MIT 2" ) >>> results = namedtuplefetchall ( cursor ) >>> results [Result(id=54360982, parent_id=None), Result(id=54360880, parent_id=None)] >>> results [ 0 ] . id 54360982 >>> results [ 0 ][ 0 ] 54360982 コネクション ...
https://man.mtool.work/django/6.1/topics/db/sql.html
Django 1.0 リリースノート — Django 6.1 ドキュメント 7920
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.0 リリースノート ¶ Django 1.0 へようこそ! We've been looking forward to this moment for over three years, and it's finally here. Django 1.0 ... ce with to_field ¶ If you're using multiple table model inheritance , be aware of this caveat: child models using a custom parent_link and to_field will cause database integrity errors. A set of models like the following are not valid : class Parent ( ... Model ): name = models . CharField ( max_length = 10 ) other_value = models . IntegerField ( unique = True ) class Child ( Parent ): father = models . OneToOneField ( Parent , primary_key = True , to_field = "other_value" , parent_link = True ) value = ...
https://man.mtool.work/django/6.1/releases/1.0.html
Django 1.0 リリースノート — Django 6.1 ドキュメント 7920
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.0 リリースノート ¶ Django 1.0 へようこそ! We've been looking forward to this moment for over three years, and it's finally here. Django 1.0 ... ce with to_field ¶ If you're using multiple table model inheritance , be aware of this caveat: child models using a custom parent_link and to_field will cause database integrity errors. A set of models like the following are not valid : class Parent ( ... Model ): name = models . CharField ( max_length = 10 ) other_value = models . IntegerField ( unique = True ) class Child ( Parent ): father = models . OneToOneField ( Parent , primary_key = True , to_field = "other_value" , parent_link = True ) value = ...
https://man.mtool.work/django/6.1/releases/1.0.html
Django 3.2.6 リリースノート — Django 6.1 ドキュメント 7840
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 3.2.6 リリースノート ¶ August 2, 2021 Django 3.2.6 では、3.2.5 におけるいくつかのバグを修正しました。 バグ修正 ¶ Fixed a regression in Django ... ixed a bug in Django 3.2 where a system check would crash on a model with a reverse many-to-many relation inherited from a parent class ( #32947 ). 目次 Django 3.2.6 リリースノート バグ修正 前のトピックへ Django 3.2.7 リリースノート 次のトピックへ Djan ... ession caused validating input forms DecimalField constraints were specified system check model reverse relation inherited parent クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/3.2.6.html
素の SQL 文の実行 — Django 6.1 ドキュメント 7747
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 素の SQL 文の実行 ¶ Django gives you three ways of performing raw SQL queries: you can embed raw SQL fragments into ORM queries using RawSQL (see Ra ... カーソルは区別できないため、一意な列名を想定しています。 この3つの違いの例を挙げましょう: >>> cursor . execute ( "SELECT id, parent_id FROM test LIMIT 2" ) >>> cursor . fetchall () ((54360982, None), (54360880, None)) >>> cursor . execute ( "SELECT id, p ... arent_id FROM test LIMIT 2" ) >>> dictfetchall ( cursor ) [{'parent_id': None, 'id': 54360982}, {'parent_id': None, 'id': 54360880}] >>> cursor . execute ( "SELECT id, parent_id FROM test LI ... MIT 2" ) >>> results = namedtuplefetchall ( cursor ) >>> results [Result(id=54360982, parent_id=None), Result(id=54360880, parent_id=None)] >>> results [ 0 ] . id 54360982 >>> results [ 0 ][ 0 ] 54360982 コネクション ...
https://man.mtool.work/django/6.1/topics/db/sql.html
モデル — Django 6.1 ドキュメント 7160
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデル ¶ モデルは、データに関する唯一かつ決定的な情報源です。あなたが保持するデータが必要とするフィールドとその動作を定義します。一般的に、各モデルは ... できます。 参考 完全な実装例は、 1対1リレーションモデルの例 を参照してください。 OneToOneField フィールドには、オプションの parent_link 引数を指定することもできます。 以前は OneToOneField クラスが自動的にモデルの主キーになっていました。しかし、現在はそう ... 連付けられた OneToOneField が自動生成されます。 place_ptr = models . OneToOneField ( Place , on_delete = models . CASCADE , parent_link = True , primary_key = True , ) Restaurant 上で、自分自身の OneToOneField を parent_link=True を付けて宣言すれば、この ... を持っているが、子モデルに既定のデータ並び順を持たせたくない場合は、下記のように明示的に無効化できます。 class ChildModel ( ParentModel ): # ... class Meta : # Remove parent's ordering effect ordering = [] 継承と関係の逆引き ¶ Because multi-table inheri ...
https://man.mtool.work/django/6.1/topics/db/models.html
PREV 1 2 3 4 5 6 7 8 9 NEXT