diff options
Diffstat (limited to 'django/contrib/postgres')
| -rw-r--r-- | django/contrib/postgres/constraints.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/contrib/postgres/constraints.py b/django/contrib/postgres/constraints.py index c19602b26e..2e6f7f7998 100644 --- a/django/contrib/postgres/constraints.py +++ b/django/contrib/postgres/constraints.py @@ -177,6 +177,7 @@ class ExclusionConstraint(BaseConstraint): and self.deferrable == other.deferrable and self.include == other.include and self.opclasses == other.opclasses + and self.violation_error_message == other.violation_error_message ) return super().__eq__(other) |
