summaryrefslogtreecommitdiff
path: root/docs/ref/models/constraints.txt
AgeCommit message (Collapse)Author
2025-12-19Fixed #36808 -- Required name argument in UniqueConstraint signature.Jonathan Biemond
By trading ValueError for TypeError for omitted name arguments, we gain a little clarity.
2025-10-03Fixed #36623 -- Dropped support for PostgreSQL 14 and PostGIS 3.1.Mariusz Felisiak
2025-09-17Removed versionadded/changed annotations for 5.2.Jacob Walls
2025-08-25Refs #36485 -- Rewrapped docs to 79 columns line length.David Smith
Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content.
2025-08-13Aligned format of constraint examples in docs/ref/models/constraints.txt.David Sanders
2025-02-14Corrected wording in docs/ref/models/constraints.txt.Luke Cousins
2025-01-15Refs #35234 -- Removed CheckConstraint.check per deprecation timeline.Sarah Boyce
2025-01-15Refs #34355 -- Removed support for positional arguments in BaseConstraint ↵Sarah Boyce
per deprecation timeline.
2024-10-10Fixed #35103 -- Used provided error code and message when fields is set ↵gabn88
without a condition on UniqueConstraint.
2024-05-22Removed versionadded/changed annotations for 5.0.Natalia
This also removes remaining versionadded/changed annotations for older versions.
2024-03-18Refs #34059, Refs #34060 -- Removed outdated warning about validation of ↵Mariusz Felisiak
JSONField constraints. Known issues have been fixed in: - 0d8fbe2ade29f1b7bd9e6ba7a0281f5478603a43, - c991602ce5798385261381025c06698d7fd30dc5, and - 26aae5614487f58ddb1df5726224393887373ecd.
2024-03-15Refs #33996 -- Updated CheckConstraint validation on NULL values on Oracle 23c+.Mariusz Felisiak
Oracle 23c supports comparing boolean expressions.
2024-03-01Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.Simon Charette
Once the deprecation period ends CheckConstraint.check() can become the documented method that performs system checks for BaseConstraint subclasses.
2024-02-28Refs #34964 -- Doc'd that Q expression order is preserved.David Sanders
2024-01-15Fixed #34949 -- Clarified when UniqueConstraints with include/nulls_distinct ↵jordanbae
are not created.
2023-07-19Fixed #34701 -- Added support for NULLS [NOT] DISTINCT on PostgreSQL 15+.Simon Charette
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-02-23Fixed #34338 -- Allowed customizing code of ValidationError in ↵Xavier Fernandez
BaseConstraint and subclasses.
2023-02-22Fixed #34355 -- Deprecated passing positional arguments to BaseConstraint.Xavier Fernandez
2023-01-17Removed versionadded/changed annotations for 4.1.Mariusz Felisiak
2022-10-12Refs #34059 -- Doc'd lack of support for validation of constraints with ↵Mariusz Felisiak
JSONFields. Thanks Dan LaManna for the report.
2022-09-13Fixed #33996 -- Fixed CheckConstraint validation on NULL values.David Sanders
Bug in 667105877e6723c6985399803a364848891513cc. Thanks James Beith for the report.
2022-05-17Removed versionadded/changed annotations for 4.0.Carlton Gibson
2022-05-10Fixed #30581 -- Added support for Meta.constraints validation.Gagaro
Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews.
2022-03-16Doc'd BaseConstraint.Gagaro
2021-12-06Fixed #33335 -- Made model validation ignore functional unique constraints.Hannes Ljungberg
Regression in 3aa545281e0c0f9fac93753e3769df9e0334dbaa. Thanks Hervé Le Roy for the report.
2021-09-20Removed versionadded/changed annotations for 3.2.Mariusz Felisiak
2021-02-23Fixed #30916 -- Added support for functional unique constraints.Hannes Ljungberg
Thanks Ian Foote and Mariusz Felisiak for reviews.
2021-01-14Removed versionadded/changed annotations for 3.1.Mariusz Felisiak
2020-06-16Fixed #31702 -- Added support for PostgreSQL opclasses in UniqueConstraint.Hannes Ljungberg
2020-06-04Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.Hannes Ljungberg
2020-06-04Fixed #31650 -- Added note uniqueness of constraints names in docs.Hasan Ramezani
2020-05-13Removed versionadded/changed annotations for 3.0.Mariusz Felisiak
2020-04-30Fixed #20581 -- Added support for deferrable unique constraints.Ian Foote
2019-11-21Fixed #30484 -- Added conditional expressions support to CheckConstraint.Simon Charette
2019-09-10Removed versionadded/changed annotations for 2.2.Mariusz Felisiak
2019-07-18Refs #30547 -- Clarified that partial UniqueConstraints don't affect model ↵Mariusz Felisiak
validation.
2019-07-08Fixed #30397 -- Added app_label/class interpolation for names of indexes and ↵can
constraints.
2019-06-22Removed unneeded non-breaking spaces added in 00169bc36Claude Paroz
2019-06-20Fixed #30547 -- Doc'd how Meta.constraints affect model validation.Swat009
2019-05-20Refs #30062 -- Corrected UniqueConstraint signature in docs.GwynBleidD
2019-04-25Fixed #30362 -- Noted partial indexes and constraints restrictions with ↵Mariusz Felisiak
abstract base classes. Thanks Carlton Gibson for the review.
2019-04-25Fixed UniqueConstraint example in ref/models/constraints.txt.Mariusz Felisiak
2019-01-12Fixed #30062 -- Added support for unique conditional constraints.Paveł Tyślacki
2019-01-10Fixed typos in docs/ref/models/constraints.txt.Tim Graham
2018-11-13Fixed #29641 -- Added support for unique constraints in Meta.constraints.Simon Charette
This constraint is similar to Meta.unique_together but also allows specifying a name. Co-authored-by: Ian Foote <python@ian.feete.org>
2018-11-13Generalized check constraint docs for other constraints.Simon Charette