Results of 1 - 10 of about 41 for constraint (0.017 sec.)
- Constraints reference — Django 4.0.6 ドキュメント 14501
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ontents | Index | Modules « previous | up | next » Constraints reference ¶ The classes defined in this module cr ...
eate database constraints. They are added in the model Meta.constraints opt ...
ion. Referencing built-in constraints Constraints are defined in django.db.models.const ...
use from django.db import models and refer to the constraints as models.<Foo>Constraint . Constraints in abstra ...
-
https://man.plustar.jp/django/ref/models/constraints.html
- [similar]
- PostgreSQL specific database constraints — Django 4.0.6 ドキュメント 12278
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
revious | up | next » PostgreSQL specific database constraints ¶ PostgreSQL supports additional data integrity c ...
traints available from the django.contrib.postgres.constraints module. They are added in the model Meta.constrai ...
nts option. ExclusionConstraint ¶ class ExclusionConstraint ( * , name , expressio ...
e = None , opclasses = () ) ¶ Creates an exclusion constraint in the database. Internally, PostgreSQL implements ...
-
https://man.plustar.jp/django/ref/contrib/postgres/constraints.html
- [similar]
- SchemaEditor — Django 4.0.6 ドキュメント 11874
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
actions and deferred SQL (like creating ForeignKey constraints). It exposes all possible operations as methods, ...
- for example, MyISAM does not support foreign key constraints. If you are writing or maintaining a third-party ...
base for the provided model, along with any unique constraints or indexes it requires. delete_model() ¶ BaseData ...
odel's table in the database along with any unique constraints or indexes it has. add_index() ¶ BaseDatabaseSche ...
-
https://man.plustar.jp/django/ref/schema-editor.html
- [similar]
- Database migration operations — Django 4.0.6 ドキュメント 9107
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
a transaction (see non-atomic migration ). Adding constraints without enforcing validation ¶ New in Django 4.0. ...
tgreSQL supports the NOT VALID option with the ADD CONSTRAINT statement to add check constraints without enforci ...
table to verify that all existing rows satisfy the constraint. To validate check constraints created with the NO ...
D option at a later point of time, use the ValidateConstraint operation. See the PostgreSQL documentation for mo ...
-
https://man.plustar.jp/django/ref/contrib/postgres/operations.html
- [similar]
- Django 1.1 リリースノート — Django 4.0.6 ドキュメント 8968
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
you, and upgrade your code if they do. Changes to constraint names ¶ Django 1.1 modifies the method used to gen ...
erate database constraint names so that names are consistent regardless of m ...
ould generate a 64-bit, 16 character digest in the constraint name; for example: ALTER TABLE myapp_sometable ADD ...
CONSTRAINT object_id_refs_id_5e8f10c132091d1e FOREIGN KEY ... ...
-
https://man.plustar.jp/django/releases/1.1.html
- [similar]
- モデルフィールドリファレンス — Django 4.0.6 ドキュメント 8159
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
s situation, null=True is required to avoid unique constraint violations when saving multiple objects with blank ...
not at the database level. If any unique_for_date constraint involves fields that are not part of a ModelForm ( ...
_unique() will skip validation for that particular constraint. unique_for_month ¶ Field. unique_for_month ¶ Like ...
leted, Django will emulate the behavior of the SQL constraint specified by the on_delete argument. For example, ...
-
https://man.plustar.jp/django/ref/models/fields.html
- [similar]
- Django 0.96 リリースノート — Django 4.0.6 ドキュメント 8159
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
old". データベース名の制約変更 ¶ The format of the constraint names Django generates for foreign key references ...
ing database may generate SQL with the new form of constraint name, while the database itself contains constrain ...
raise an error message about modifying nonexistent constraints. If you need to work around this, there are two m ...
ile, and edit the generated SQL to use the correct constraint names before executing it. Examine the output of m ...
-
https://man.plustar.jp/django/releases/0.96.html
- [similar]
- Django 1.11.3 リリースノート — Django 4.0.6 ドキュメント 7880
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
a primary key alteration from adding a foreign key constraint if db_constraint=False ( #28298 ). Fixed UnboundLo ...
-
https://man.plustar.jp/django/releases/1.11.3.html
- [similar]
- Django 2.2.1 リリースノート — Django 4.0.6 ドキュメント 7817
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ions from generating infinite migrations for check constraints and partial indexes when condition contains a ran ...
crash on Oracle and PostgreSQL when adding a check constraint with a contains , startswith , or endswith lookup ...
ion crash on Oracle and SQLite when adding a check constraint with condition contains | ( OR ) operator ( #30412 ...
-
https://man.plustar.jp/django/releases/2.2.1.html
- [similar]
- Django 1.7.1 release notes — Django 4.0.6 ドキュメント 7678
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
(trailing dot removed, #23532 ). Added quoting of constraint names in the SQL generated by migrations to preven ...
Fixed bug in migrations that prevented foreign key constraints to unmanaged models with a custom primary key ( # ...
o the migrations questioner when removing the null constraint from a field to prevent an IntegrityError on exist ...
-
https://man.plustar.jp/django/releases/1.7.1.html
- [similar]