per page, with , order by , clip by
Results of 1 - 10 of about 42 for Constraint (0.004 sec.)
制約 (Constraint) リファレンス 13408
制約 (Constraint) リファレンス このモジュールで定義されたクラスはデータベース制約を作成します。これらはモデルの Meta.constraints オプションで追加されます。 組み込みの制約への参照について 制約は django.db.models.constraints で定義されています ... 性のために django.db.models にインポートされています。標準的な規約は from django.db import models を使い、制約を models.<Foo>Constraint と呼ぶことです。 抽象基底クラスにおける制約 制約には常にユニークな名前を指定する必要があります。また、通常は抽象基底クラス ... で制約を指定することはできません。なぜなら Meta.constraints オプションはサブクラスに継承され、そのたびに( name を含む)属性がまったく同じ値になってしまうからです。名前の衝突を回避す ... )s' と '%(class)s' を含めることができ、これにより小文字化されたアプリラベルと具体モデルのクラス名に置き換えられます。 CheckConstraint ( condition = Q ( age__gte = 18 ), name = " %(app_label)s _ %(class)s _is_adult" ) 制約のバリデーション 制約は モデルのバリ ...
https://man.mtool.work/django/6.1/ref/models/constraints.html
SchemaEditor 12743
SchemaEditor class BaseDatabaseSchemaEditor [ソース] Django のマイグレーションシステムは2つの部分に分かれています。データベースに対してどのような操作を実行するべきかを計算してその結果を保管するロジックの部分 ( django.db.migrations )と、「モ ... rename_index ( model , old_index , new_index ) [ソース] model のテーブルの old_index を new_index に名前を変更します。 add_constraint() BaseDatabaseSchemaEditor. add_constraint ( model , constraint ) [ソース] model のテーブルに constraint を追加します。 re ... move_constraint() BaseDatabaseSchemaEditor. remove_constraint ( model , constraint ) [ソース] model のテーブルから constraint を削除します ...
https://man.mtool.work/django/6.1/ref/schema-editor.html
Django 0.96 リリースノート 9739
Django 0.96 リリースノート Django 0.96 へようこそ! The primary goal for 0.96 is a cleanup and stabilization of the features introduced in 0.95. There have been a few small backwards-incompatible changes since 0.95, but the upgrade process s ... ailable on the "mysql" backend, and will not be made available for "mysql_old". データベース名の制約変更 The format of the constraint names Django generates for foreign key references have changed slightly. These names are generally only used when it is no ... ge is that running manage.py reset and similar commands against an existing database may generate SQL with the new form of constraint name, while the database itself contains constraints named in the old form; this will cause the database server to raise a ... n error message about modifying nonexistent constraints. If you need to work around this, there are two methods available: Redirect the output of manage.py to a file, and edit t ...
https://man.mtool.work/django/6.1/releases/0.96.html
Django 1.1 リリースノート 9739
Django 1.1 リリースノート July 29, 2009 Django 1.1 へようこそ! Django 1.1 includes a number of nifty new features , lots of bug fixes, and an easy upgrade path from Django 1.0. Backwards-incompatible changes in 1.1 Django has a policy of AP ... ango 1.1 you should double-check that the following changes don't impact you, and upgrade your code if they do. Changes to constraint names Django 1.1 modifies the method used to generate database constraint names so that names are consistent regardless of ... 4 ビットプラットフォームでは、以下に示すように制約名を64ビットで16文字に省略していました。 ALTER TABLE myapp_sometable ADD CONSTRAINT object_id_refs_id_5e8f10c132091d1e FOREIGN KEY ... この変更に伴い、すべてのプラットフォームで、ワードサイズに関係なく、制約 ... 名は32ビットで8文字に省略されるようになります。 ALTER TABLE myapp_sometable ADD CONSTRAINT object_id_refs_id_32091d1e FOREIGN KEY ... As a result of this change, you will not be able to use the reset management co ...
https://man.mtool.work/django/6.1/releases/1.1.html
Django 1.11.3 リリースノート 9568
Django 1.11.3 リリースノート July 1, 2017 Django 1.11.3 fixes several bugs in 1.11.2. バグ修正 Removed an incorrect deprecation warning about a missing renderer argument if a Widget.render() method accepts **kwargs ( #28265 ). Fixed a regre ... now done in the template using the |stringformat:'s' filter. Prevented a primary key alteration from adding a foreign key constraint if db_constraint=False ( #28298 ). Fixed UnboundLocalError crash in RenameField with nonexistent field ( #28350 ). Fixed a ...
https://man.mtool.work/django/6.1/releases/1.11.3.html
Django 2.2.1 リリースノート 9228
Django 2.2.1 リリースノート May 1, 2019 Django 2.2.1 fixes several bugs in 2.2. バグ修正 Fixed a regression in Django 2.1 that caused the incorrect quoting of database user password when using dbshell on Oracle ( #30307 ). Added compatibili ... lete to not set the primary key to None ( #30330 ). Prevented makemigrations from generating infinite migrations for check constraints and partial indexes when condition contains a range object ( #30350 ). Reverted an optimization in Django 2.2 ( #29725 ) ... by auto-reloader when using StatReloader ( #30323 ). Fixed a migration crash on Oracle and PostgreSQL when adding a check constraint with a contains , startswith , or endswith lookup (or their case-insensitive variant) ( #30408 ). Fixed a migration crash ... on Oracle and SQLite when adding a check constraint with condition contains | ( OR ) operator ( #30412 ). ...
https://man.mtool.work/django/6.1/releases/2.2.1.html
Django 1.11.9 リリースノート 8732
Django 1.11.9 リリースノート 2018年1月1日 Django 1.11.9 fixes several bugs in 1.11.8. バグ修正 Fixed a regression in Django 1.11 that added newlines between MultiWidget 's subwidgets ( #28890 ). Fixed incorrect class-based model index name ... generation for models with quoted db_table ( #28876 ). Fixed incorrect foreign key constraint name for models with quoted db_table ( #28876 ). Fixed a regression in caching of a GenericForeignKey when the referenced ...
https://man.mtool.work/django/6.1/releases/1.11.9.html
Django 1.7.1 リリースノート 8562
Django 1.7.1 リリースノート October 22, 2014 Django 1.7.1 fixes several bugs in 1.7. バグ修正 Allowed related many-to-many fields to be referenced in the admin ( #23604 ). Added a more helpful error message if you try to migrate an app with ... Hant and zh_TW ) have been added. Formats for Macedonian have been fixed (trailing dot removed, #23532 ). Added quoting of constraint names in the SQL generated by migrations to prevent crash with uppercase characters in the name ( #23065 ). Fixed renaming ... ( #23426 ). TEST 辞書の SERIALIZE 項目を使用可能にしました ( #23421 )。 Fixed bug in migrations that prevented foreign key constraints to unmanaged models with a custom primary key ( #23415 ). Added SchemaEditor for MySQL GIS backend so that spatial indexe ... ons can now serialize timezone-aware values ( #23365 ). Added a prompt to the migrations questioner when removing the null constraint from a field to prevent an IntegrityError on existing NULL rows ( #23609 ). Fixed generic relations in ModelAdmin.list_fil ...
https://man.mtool.work/django/6.1/releases/1.7.1.html
モデル 8407
モデル モデルのAPIリファレンスです。入門的な内容については モデル を参照してください。 モデルフィールドリファレンス フィールド属性 リファレンス モデル index リファレンス 制約 (Constraint) リファレンス モデル _meta API リレーション先オブジェ ...
https://man.mtool.work/django/6.1/ref/models/
Django 1.11.13 リリースノート 8407
Django 1.11.13 リリースノート 2018年5月1日 Django 1.11.13 では、1.11.12 にあったいくつかのバグを修正しました。 バグ修正 Fixed a regression in Django 1.11.8 where altering a field with a unique constraint may drop and rebuild more foreign ke ...
https://man.mtool.work/django/6.1/releases/1.11.13.html
PREV 1 2 3 4 5 NEXT