diff options
author | Mads Jensen <mje@inducks.org> | 2016-06-01 23:43:59 +0200 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-09-21 12:11:37 -0400 |
commit | 094d630ae8d8e5e68817c313da0fd737898b216b (patch) | |
tree | b9ddc286156eaf775f82b51c124816f9e366f77f /django/contrib/postgres/operations.py | |
parent | 7eda99f03f6dfbd5a4a3f1e40e6d51842fd3268f (diff) | |
download | django-094d630ae8d8e5e68817c313da0fd737898b216b.tar.gz |
Fixed #26610 -- Added CITextField to contrib.postgres.
Diffstat (limited to 'django/contrib/postgres/operations.py')
-rw-r--r-- | django/contrib/postgres/operations.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/django/contrib/postgres/operations.py b/django/contrib/postgres/operations.py index 6253011217..951c82cfca 100644 --- a/django/contrib/postgres/operations.py +++ b/django/contrib/postgres/operations.py @@ -23,6 +23,12 @@ class CreateExtension(Operation): return "Creates extension %s" % self.name +class CITextExtension(CreateExtension): + + def __init__(self): + self.name = 'citext' + + class HStoreExtension(CreateExtension): def __init__(self): |