summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/operations.py
diff options
context:
space:
mode:
authorMads Jensen <mje@inducks.org>2017-07-01 15:30:34 +0200
committerTim Graham <timograham@gmail.com>2017-09-04 21:08:02 -0400
commitf4135783add90e8e392db81b3592f4e3b9f01754 (patch)
tree840bc1d36cd716dffda286610cf0227c16747a74 /django/contrib/postgres/operations.py
parent66657eb01f36081f33d847390e4f7034ff3e9f52 (diff)
downloaddjango-f4135783add90e8e392db81b3592f4e3b9f01754.tar.gz
Fixed #28126 -- Added GistIndex to contrib.postgres.
Thanks to Marc Tamlyn for the initial patch.
Diffstat (limited to 'django/contrib/postgres/operations.py')
-rw-r--r--django/contrib/postgres/operations.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/django/contrib/postgres/operations.py b/django/contrib/postgres/operations.py
index cb9765928a..be9ed9cb23 100644
--- a/django/contrib/postgres/operations.py
+++ b/django/contrib/postgres/operations.py
@@ -33,6 +33,12 @@ class BtreeGinExtension(CreateExtension):
self.name = 'btree_gin'
+class BtreeGistExtension(CreateExtension):
+
+ def __init__(self):
+ self.name = 'btree_gist'
+
+
class CITextExtension(CreateExtension):
def __init__(self):