From ccbf714ebeff51d1370789e5e487a978d0e2dbfb Mon Sep 17 00:00:00 2001 From: "Stéphane \"Twidi\" Angel" Date: Thu, 7 Jul 2022 04:26:49 +0200 Subject: Fixed #33829 -- Made BaseConstraint.deconstruct() and equality handle violation_error_message. Regression in 667105877e6723c6985399803a364848891513cc. --- django/contrib/postgres/constraints.py | 1 + 1 file changed, 1 insertion(+) (limited to 'django/contrib/postgres') 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) -- cgit v1.3