diff options
author | Ian Foote <python@ian.feete.org> | 2018-08-27 03:25:06 +0100 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-04-30 10:43:50 +0200 |
commit | c226c6cb3209122b6732fd501e2994c408dc258e (patch) | |
tree | 3a72f1403e4a061c9d4dbf0d7cd88639457f9df2 /django/db/backends/postgresql/features.py | |
parent | 555e3a848e7ac13580371c7eafbc89195fee6ea9 (diff) | |
download | django-c226c6cb3209122b6732fd501e2994c408dc258e.tar.gz |
Fixed #20581 -- Added support for deferrable unique constraints.
Diffstat (limited to 'django/db/backends/postgresql/features.py')
-rw-r--r-- | django/db/backends/postgresql/features.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/backends/postgresql/features.py b/django/db/backends/postgresql/features.py index 533c8dc282..3b4199fa78 100644 --- a/django/db/backends/postgresql/features.py +++ b/django/db/backends/postgresql/features.py @@ -56,6 +56,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): supports_aggregate_filter_clause = True supported_explain_formats = {'JSON', 'TEXT', 'XML', 'YAML'} validates_explain_options = False # A query will error on invalid options. + supports_deferrable_unique_constraints = True @cached_property def is_postgresql_9_6(self): |