diff options
Diffstat (limited to 'django/contrib/postgres/indexes.py')
| -rw-r--r-- | django/contrib/postgres/indexes.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/contrib/postgres/indexes.py b/django/contrib/postgres/indexes.py index cc944ed335..05fdbeed5e 100644 --- a/django/contrib/postgres/indexes.py +++ b/django/contrib/postgres/indexes.py @@ -244,6 +244,7 @@ class SpGistIndex(PostgresIndex): class OpClass(Func): template = "%(expressions)s %(name)s" + constraint_validation_compatible = False def __init__(self, expression, name): super().__init__(expression, name=name) |
