diff options
author | Hannes Ljungberg <hannes@5monkeys.se> | 2019-10-10 20:04:17 +0200 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2021-01-13 11:47:50 +0100 |
commit | 83fcfc9ec8610540948815e127101f1206562ead (patch) | |
tree | aca51a61ef2d7397ee170fc74c564d242c441147 /django/db/backends/postgresql/features.py | |
parent | e3ece0144a988bc522c4bd551baecaf2139ce4ed (diff) | |
download | django-83fcfc9ec8610540948815e127101f1206562ead.tar.gz |
Fixed #26167 -- Added support for functional indexes.
Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews.
Co-authored-by: Markus Holtermann <info@markusholtermann.eu>
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 84259c0c19..b7ec377739 100644 --- a/django/db/backends/postgresql/features.py +++ b/django/db/backends/postgresql/features.py @@ -58,6 +58,7 @@ class DatabaseFeatures(BaseDatabaseFeatures): supports_deferrable_unique_constraints = True has_json_operators = True json_key_contains_list_matching_requires_list = True + supports_expression_indexes = True django_test_skips = { 'opclasses are PostgreSQL only.': { |