diff options
author | Tim Graham <timograham@gmail.com> | 2016-09-21 12:08:43 -0400 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2016-09-21 12:11:43 -0400 |
commit | cf0b4025182ce6484aa142bb203b74743c63a0ea (patch) | |
tree | 3ab76fc5ab9ec8c7e0165de5b1ac554fda3a714a /django/contrib/postgres/operations.py | |
parent | 094d630ae8d8e5e68817c313da0fd737898b216b (diff) | |
download | django-cf0b4025182ce6484aa142bb203b74743c63a0ea.tar.gz |
Alphabetized classes in contrib.postgres.operations.
Diffstat (limited to 'django/contrib/postgres/operations.py')
-rw-r--r-- | django/contrib/postgres/operations.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/django/contrib/postgres/operations.py b/django/contrib/postgres/operations.py index 951c82cfca..cb45d4f705 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 BtreeGinExtension(CreateExtension): + + def __init__(self): + self.name = 'btree_gin' + + class CITextExtension(CreateExtension): def __init__(self): @@ -42,19 +48,13 @@ class HStoreExtension(CreateExtension): register_hstore_handler(schema_editor.connection) -class UnaccentExtension(CreateExtension): - - def __init__(self): - self.name = 'unaccent' - - class TrigramExtension(CreateExtension): def __init__(self): self.name = 'pg_trgm' -class BtreeGinExtension(CreateExtension): +class UnaccentExtension(CreateExtension): def __init__(self): - self.name = 'btree_gin' + self.name = 'unaccent' |