per page, with , order by , clip by
Results of 1 - 10 of about 130 for unique (0.005 sec.)
制約 (Constraint) リファレンス — Django 6.1 ドキュメント 12924
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 制約 (Constraint) リファレンス ¶ このモジュールで定義されたクラスはデータベース制約を作成します。これらはモデルの Meta.constraints オプションで追加さ ... 、次のように記述します: CheckConstraint ( condition = Q ( age__gte = 18 ) | Q ( age__isnull = True ), name = "age_gte_18" ) UniqueConstraint ¶ class UniqueConstraint ( * expressions , fields = () , name , condition = None , deferrable = None , include = ... classes = () , nulls_distinct = None , violation_error_code = None , violation_error_message = None ) [ソース] ¶ Creates a uniqueness guarantee in the database, enforced by either a unique constraint or a unique index depending on the options used. Con ... straint vs. index implementation Setting only UniqueConstraint.fields creates a true database constraint ( ADD CONSTRAINT ... UNIQUE ). Specifying any of UniqueConstraint.expr ...
https://man.mtool.work/django/6.1/ref/models/constraints.html
制約 (Constraint) リファレンス — Django 6.1 ドキュメント 12839
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 制約 (Constraint) リファレンス ¶ このモジュールで定義されたクラスはデータベース制約を作成します。これらはモデルの Meta.constraints オプションで追加さ ... 、次のように記述します: CheckConstraint ( condition = Q ( age__gte = 18 ) | Q ( age__isnull = True ), name = "age_gte_18" ) UniqueConstraint ¶ class UniqueConstraint ( * expressions , fields = () , name , condition = None , deferrable = None , include = ... classes = () , nulls_distinct = None , violation_error_code = None , violation_error_message = None ) [ソース] ¶ Creates a uniqueness guarantee in the database, enforced by either a unique constraint or a unique index depending on the options used. Con ... straint vs. index implementation Setting only UniqueConstraint.fields creates a true database constraint ( ADD CONSTRAINT ... UNIQUE ). Specifying any of UniqueConstraint.expr ...
https://man.mtool.work/django/6.1/ref/models/constraints.html
Django 1.8.9 リリースノート — Django 6.1 ドキュメント 8827
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8.9 リリースノート ¶ February 1, 2016 Django 1.8.9 fixes several bugs in 1.8.8. バグ修正 ¶ Fixed a regression that caused the "user-tools" ... 0 ). Fixed a regression in 1.8.8 causing incorrect index handling in migrations on PostgreSQL when adding db_index=True or unique=True to a CharField or TextField that already had the other specified, or when removing one of them from a field that had ... both, or when adding unique=True to a field already listed in unique_together ( #26034 ). Fixed a crash when using an __in lookup inside a Case expres ... 前のトピックへ Django 1.8.10 リリースノート 次のトピックへ Django 1.8.8 リリースノート 関連キーワード Fixed regression crash unique using caused admin translations incorrect index adding already copy リリースノート February fixes several bugs バグ 修正 u ...
https://man.mtool.work/django/6.1/releases/1.8.9.html
モデルフィールドリファレンス — Django 6.1 ドキュメント 8741
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルフィールドリファレンス ¶ このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field の ... が NULL と空文字列の 2 通りになります。多くの場合、「データなし」を表す値が 2 つあるのは冗長です。例外として、 CharField に unique=True と blank=True の両方を設定する場合があります。この状況では、空文字列のオブジェクトを複数保存する際に一意制約違反を避け ... 簡単にアクセスできるようになっています。 警告 これらのプロパティ名をメンバ名として使用することはできません。 The use of enum.unique() is enforced to ensure that values cannot be defined multiple times. This is unlikely to be expected in choices for a fie ... メッセージにマッチするキーを持つ辞書を渡してください。 エラーメッセージのキーには null , blank , invalid , invalid_choice , unique , unique_for_date があります。以下の Field types セクションで説明する各フィールドには、追加のエラーメッセージキーが指定され ...
https://man.mtool.work/django/6.1/ref/models/fields.html
モデルフィールドリファレンス — Django 6.1 ドキュメント 8741
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルフィールドリファレンス ¶ このドキュメントには、Django が提供するフィールドオプション field options とフィールド型 field types を含む、 Field の ... が NULL と空文字列の 2 通りになります。多くの場合、「データなし」を表す値が 2 つあるのは冗長です。例外として、 CharField に unique=True と blank=True の両方を設定する場合があります。この状況では、空文字列のオブジェクトを複数保存する際に一意制約違反を避け ... 簡単にアクセスできるようになっています。 警告 これらのプロパティ名をメンバ名として使用することはできません。 The use of enum.unique() is enforced to ensure that values cannot be defined multiple times. This is unlikely to be expected in choices for a fie ... メッセージにマッチするキーを持つ辞書を渡してください。 エラーメッセージのキーには null , blank , invalid , invalid_choice , unique , unique_for_date があります。以下の Field types セクションで説明する各フィールドには、追加のエラーメッセージキーが指定され ...
https://man.mtool.work/django/6.1/ref/models/fields.html
Django 1.8.9 リリースノート — Django 6.1 ドキュメント 8559
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8.9 リリースノート ¶ February 1, 2016 Django 1.8.9 fixes several bugs in 1.8.8. バグ修正 ¶ Fixed a regression that caused the "user-tools" ... 0 ). Fixed a regression in 1.8.8 causing incorrect index handling in migrations on PostgreSQL when adding db_index=True or unique=True to a CharField or TextField that already had the other specified, or when removing one of them from a field that had ... both, or when adding unique=True to a field already listed in unique_together ( #26034 ). Fixed a crash when using an __in lookup inside a Case expres ... Django 1.8.10 リリースノート 次のトピックへ Django 1.8.8 リリースノート 関連キーワード Fixed regression True Django crash unique using caused admin translations incorrect index adding already field copy リリースノート February fixes several 関連するペ ...
https://man.mtool.work/django/6.1/releases/1.8.9.html
SchemaEditor — Django 6.1 ドキュメント 8304
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » SchemaEditor ¶ class BaseDatabaseSchemaEditor [ソース] ¶ Django のマイグレーションシステムは2つの部分に分かれています。データベースに対してどのような ... baseSchemaEditor. remove_constraint ( model , constraint ) [ソース] ¶ model のテーブルから constraint を削除します。 alter_unique_together() ¶ BaseDatabaseSchemaEditor. alter_unique_together ( model , old_unique_together , new_unique_together ) [ソース ... ] ¶ モデルの unique_together 値を変更します。これにより、新しい値に一致するまで、モデルのテーブルからユニーク制約が追加または削除されます。 al ... l , field ) [ソース] ¶ モデルのテーブルにフィールドを表すための列(時には複数)を追加します。フィールドに db_index=True や unique=True が設定されている場合、インデックスやユニーク制約も追加されます。 フィールドが through の値なしで ManyToManyField の場 ...
https://man.mtool.work/django/6.1/ref/schema-editor.html
モデルの Meta オプション — Django 6.1 ドキュメント 8134
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルの Meta オプション ¶ このドキュメントでは、モデル内部の class Meta 内でモデルに与えられる、すべての可能な メタデータオプション を説明します。 ... Index ( fields = [ "last_name" , "first_name" ]), models . Index ( fields = [ "first_name" ], name = "first_name_idx" ), ] unique_together ¶ Options. unique_together ¶ 代わりに UniqueConstraint を constraints オプションとともに使用してください。 Unique ... Constraint は unique_together よりも多くの機能を提供します。 unique_together は将来廃止される可能性があります。 組み合わせが一意でなければならな ... いフィールドのリストを指定します。 unique_together = [[ "driver" , "restaurant" ]] これは、一緒に考えたときに一意でなければならないリストのリストです。Django の管理 ...
https://man.mtool.work/django/6.1/ref/models/options.html
モデルの Meta オプション — Django 6.1 ドキュメント 8134
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » モデルの Meta オプション ¶ このドキュメントでは、モデル内部の class Meta 内でモデルに与えられる、すべての可能な メタデータオプション を説明します。 ... Index ( fields = [ "last_name" , "first_name" ]), models . Index ( fields = [ "first_name" ], name = "first_name_idx" ), ] unique_together ¶ Options. unique_together ¶ 代わりに UniqueConstraint を constraints オプションとともに使用してください。 Unique ... Constraint は unique_together よりも多くの機能を提供します。 unique_together は将来廃止される可能性があります。 組み合わせが一意でなければならな ... いフィールドのリストを指定します。 unique_together = [[ "driver" , "restaurant" ]] これは、一緒に考えたときに一意でなければならないリストのリストです。Django の管理 ...
https://man.mtool.work/django/6.1/ref/models/options.html
SchemaEditor — Django 6.1 ドキュメント 7866
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » SchemaEditor ¶ class BaseDatabaseSchemaEditor [ソース] ¶ Django のマイグレーションシステムは2つの部分に分かれています。データベースに対してどのような ... baseSchemaEditor. remove_constraint ( model , constraint ) [ソース] ¶ model のテーブルから constraint を削除します。 alter_unique_together() ¶ BaseDatabaseSchemaEditor. alter_unique_together ( model , old_unique_together , new_unique_together ) [ソース ... ] ¶ モデルの unique_together 値を変更します。これにより、新しい値に一致するまで、モデルのテーブルからユニーク制約が追加または削除されます。 al ... l , field ) [ソース] ¶ モデルのテーブルにフィールドを表すための列(時には複数)を追加します。フィールドに db_index=True や unique=True が設定されている場合、インデックスやユニーク制約も追加されます。 フィールドが through の値なしで ManyToManyField の場 ...
https://man.mtool.work/django/6.1/ref/schema-editor.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT