summaryrefslogtreecommitdiff
path: root/tests/constraints
AgeCommit message (Expand)Author
9 daysFixed #37057 -- Adjusted UniqueConstraint handling of UNKNOWN condition.Simon Charette
2025-12-19Fixed #36808 -- Required name argument in UniqueConstraint signature.Jonathan Biemond
2025-08-04Fixed #34871, #36518 -- Implemented unresolved lookups expression replacement.Simon Charette
2025-06-13Fixed #36433 -- Fixed constraint validation crash when condition uses a Forei...Colleen Dunlap
2025-03-01Fixed #36198 -- Implemented unresolved transform expression replacement.Simon Charette
2025-01-15Refs #35234 -- Removed CheckConstraint.check per deprecation timeline.Sarah Boyce
2025-01-15Refs #34355 -- Removed support for positional arguments in BaseConstraint per...Sarah Boyce
2024-10-10Fixed #35103 -- Used provided error code and message when fields is set witho...gabn88
2024-08-28Fixed #35666 -- Documented stacklevel usage and testing, and adjusted test su...Simon Charette
2024-08-12Fixed #35575 -- Added support for constraint validation on GeneratedFields.Mark Gensler
2024-08-05Fixed #35638 -- Updated validate_constraints to consider db_default.David Sanders
2024-07-26Added missing skips in constraint tests.Tim Graham
2024-07-17Refs #34701 -- Moved UniqueConstraint(nulls_distinct) validation tests.Simon Charette
2024-07-17Fixed #35594 -- Added unique nulls distinct validation for expressions.Simon Charette
2024-07-17Refs #30581 -- Made unattached UniqueConstraint(fields) validation testable.Simon Charette
2024-03-01Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.Simon Charette
2024-02-15Fixed #34060 -- Fixed migrations crash when adding check constraints with JSO...Albert Defler
2023-10-12Refs #34840 -- Fixed test_validate_nullable_textfield_with_isnull_true() on d...Mariusz Felisiak
2023-09-22Fixed #34840 -- Avoided casting string base fields on PostgreSQL.Mariusz Felisiak
2023-08-11Fixed #34743 -- Fixed Meta.constraints validation crash when using pk.Francesco Panico
2023-08-04Fixed #34754 -- Fixed JSONField check constraints validation on NULL values.Simon Charette
2023-07-19Made UniqueConstraint raise TypeError for type violations.Simon Charette
2023-07-19Fixed #34701 -- Added support for NULLS [NOT] DISTINCT on PostgreSQL 15+.Simon Charette
2023-02-24Refs #34338 -- Fixed isolation of constraints tests.Mariusz Felisiak
2023-02-23Fixed #34338 -- Allowed customizing code of ValidationError in BaseConstraint...Xavier Fernandez
2023-02-23Refs #33829 -- Added violation_error_message to constraints' __repr__().Xavier Fernandez
2023-02-22Fixed #34355 -- Deprecated passing positional arguments to BaseConstraint.Xavier Fernandez
2023-02-08Fixed #34319 -- Fixed Model.validate_constraints() crash on ValidationError w...Mariusz Felisiak
2023-01-26Fixed #34291 -- Fixed Meta.constraints validation crash on UniqueConstraint w...Mariusz Felisiak
2022-09-13Fixed #33996 -- Fixed CheckConstraint validation on NULL values.David Sanders
2022-08-09Fixed #33902 -- Fixed Meta.constraints validation crash with F() expressions.Mariusz Felisiak
2022-07-08Fixed #33829 -- Made BaseConstraint.deconstruct() and equality handle violati...Stéphane "Twidi" Angel
2022-05-10Fixed #30581 -- Added support for Meta.constraints validation.Gagaro
2022-05-05Refs #30581 -- Moved CheckConstraint tests for conditional expressions to mig...Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-02-23Fixed #30916 -- Added support for functional unique constraints.Hannes Ljungberg
2021-02-19Fixed #32458 -- Made __repr__() for Index and BaseConstraint subclasses more ...Hannes Ljungberg
2020-07-27Fixed #31815 -- Fixed schema value encoding on PostgreSQL.Mariusz Felisiak
2020-06-29Fixed #31745 -- Added error messages when using UniqueConstraint.include/opcl...Hannes Ljungberg
2020-06-16Fixed #31702 -- Added support for PostgreSQL opclasses in UniqueConstraint.Hannes Ljungberg
2020-06-04Refs #30913 -- Added system checks for covering indexes and unique constraint...Mariusz Felisiak
2020-06-04Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.Hannes Ljungberg
2020-04-30Fixed #20581 -- Added support for deferrable unique constraints.Ian Foote
2020-04-17Refs #31351 -- Made partial constraints tests use required_db_features.Mariusz Felisiak
2019-11-21Fixed #30484 -- Added conditional expressions support to CheckConstraint.Simon Charette
2019-10-01Fixed #30651 -- Made __eq__() methods return NotImplemented for not implement...ElizabethU
2019-08-12Refs #11964 -- Made constraint support check respect required_db_features.Simon Charette
2019-07-19Fixed #30593 -- Added support for check constraints on MariaDB 10.2+.Hasan Ramezani
2019-07-08Fixed #30397 -- Added app_label/class interpolation for names of indexes and ...can
2019-01-12Fixed #30062 -- Added support for unique conditional constraints.Paveł Tyślacki