index
:
chango.git
devmain
fix-31295
initial-branch
main
stable/5.2.x
stable/6.0.x
django
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
django
/
db
/
models
/
constraints.py
Age
Commit message (
Expand
)
Author
2026-04-22
Fixed #37057 -- Adjusted UniqueConstraint handling of UNKNOWN condition.
Simon Charette
2025-12-19
Fixed #36808 -- Required name argument in UniqueConstraint signature.
Jonathan Biemond
2025-12-16
Fixed #36594 -- Improved UniqueConstraint's nulls_distinct system check message.
Mridul Dhall
2025-11-13
Fixed #36730 -- Fixed constraint validation crash for excluded FK attnames.
Adam Johnson
2025-07-23
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
django-bot
2025-03-31
Refs #28909 -- Simplified code using unpacking generalizations.
Aarni Koskela
2025-03-10
Used _expression_refs_exclude() hook in CheckConstraint/UniqueConstraint.vali...
Mariusz Felisiak
2025-02-19
Fixed #35358, Refs #35234 -- Renamed _check() methods to check() for constrai...
Mariusz Felisiak
2025-01-15
Refs #35234 -- Removed CheckConstraint.check per deprecation timeline.
Sarah Boyce
2025-01-15
Refs #34355 -- Removed support for positional arguments in BaseConstraint per...
Sarah Boyce
2024-12-17
Fixed #35992, Fixed #35997 -- Added system check for CompositePrimaryKeys in ...
Mariusz Felisiak
2024-11-28
Fixed #35038 -- Created AlterConstraint operation.
Salvo Polizzi
2024-10-10
Fixed #35103 -- Used provided error code and message when fields is set witho...
gabn88
2024-09-09
Refs #373 -- Added Model._is_pk_set() abstraction to check if a Model's PK is...
Csirmaz Bendegúz
2024-08-12
Fixed #35575 -- Added support for constraint validation on GeneratedFields.
Mark Gensler
2024-08-05
Refs #35638 -- Avoided wrapping expressions with Value in _get_field_value_ma...
David Sanders
2024-07-17
Fixed #35594 -- Added unique nulls distinct validation for expressions.
Simon Charette
2024-07-17
Refs #30581 -- Made unattached UniqueConstraint(fields) validation testable.
Simon Charette
2024-05-14
Fixed #35275 -- Fixed Meta.constraints validation crash on UniqueConstraint w...
Mariusz Felisiak
2024-03-30
Refs #35234 -- Skipped CheckConstraint system checks if not supported.
Mariusz Felisiak
2024-03-01
Refs #35234 -- Deprecated CheckConstraint.check in favor of .condition.
Simon Charette
2024-02-29
Refs #35234 -- Moved constraint system checks to Check/UniqueConstraint methods.
Simon Charette
2023-07-19
Made UniqueConstraint raise TypeError for type violations.
Simon Charette
2023-07-19
Fixed #34701 -- Added support for NULLS [NOT] DISTINCT on PostgreSQL 15+.
Simon Charette
2023-02-23
Fixed #34338 -- Allowed customizing code of ValidationError in BaseConstraint...
Xavier Fernandez
2023-02-23
Refs #33829 -- Added violation_error_message to constraints' __repr__().
Xavier Fernandez
2023-02-22
Fixed #34355 -- Deprecated passing positional arguments to BaseConstraint.
Xavier Fernandez
2023-01-26
Fixed #34291 -- Fixed Meta.constraints validation crash on UniqueConstraint w...
Mariusz Felisiak
2023-01-18
Refs #34233 -- Used types.NoneType.
Nick Pope
2022-08-11
Replaced Expression.replace_references() with .replace_expressions().
Simon Charette
2022-08-09
Fixed #33902 -- Fixed Meta.constraints validation crash with F() expressions.
Mariusz Felisiak
2022-07-08
Fixed #33829 -- Made BaseConstraint.deconstruct() and equality handle violati...
Stéphane "Twidi" Angel
2022-05-10
Fixed #30581 -- Added support for Meta.constraints validation.
Gagaro
2022-03-16
Made BaseConstraint importable from django.db.models.
Gagaro
2022-02-07
Refs #33476 -- Reformatted code with Black.
django-bot
2022-02-03
Refs #33476 -- Refactored problematic code before reformatting by Black.
Mariusz Felisiak
2021-07-12
Refs #32074 -- Used Enum.repr() format proposed for Python 3.10.
Mariusz Felisiak
2021-05-28
Refs #32779 -- Changed DatabaseSchemaEditor._unique_sql()/_create_unique_sql(...
Hannes Ljungberg
2021-04-07
Refs #32074 -- Backported Enum.__repr__() from Python 3.10.
Mariusz Felisiak
2021-02-23
Fixed #30916 -- Added support for functional unique constraints.
Hannes Ljungberg
2021-02-19
Fixed #32458 -- Made __repr__() for Index and BaseConstraint subclasses more ...
Hannes Ljungberg
2020-06-29
Fixed #31745 -- Added error messages when using UniqueConstraint.include/opcl...
Hannes Ljungberg
2020-06-16
Fixed #31702 -- Added support for PostgreSQL opclasses in UniqueConstraint.
Hannes Ljungberg
2020-06-04
Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+.
Hannes Ljungberg
2020-04-30
Fixed #20581 -- Added support for deferrable unique constraints.
Ian Foote
2019-11-21
Fixed #30484 -- Added conditional expressions support to CheckConstraint.
Simon Charette
2019-11-21
Refs #11964 -- Removed SimpleCol in favor of Query(alias_cols).
Simon Charette
2019-10-01
Fixed #30651 -- Made __eq__() methods return NotImplemented for not implement...
ElizabethU
2019-01-12
Fixed #30062 -- Added support for unique conditional constraints.
Paveł Tyślacki
2019-01-01
Fixed #30060 -- Moved SQL generation for indexes and constraints to SchemaEdi...
Paveł Tyślacki
[next]