diff options
author | Carl Meyer <carl@oddbird.net> | 2014-11-22 14:30:14 -0700 |
---|---|---|
committer | Carl Meyer <carl@oddbird.net> | 2014-11-22 14:30:14 -0700 |
commit | f36151ed169813f2873e13ca9de616cfa4095321 (patch) | |
tree | 9b82013744fc9036a802d5aa7d2dce1c36e673bb /django/contrib/postgres/operations.py | |
parent | a9cced7aecfb7c49fe0f84c33b86744bba8f58b5 (diff) | |
download | django-f36151ed169813f2873e13ca9de616cfa4095321.tar.gz |
Fixed #23892 -- Made deconstructible classes forwards compatible
Diffstat (limited to 'django/contrib/postgres/operations.py')
-rw-r--r-- | django/contrib/postgres/operations.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/postgres/operations.py b/django/contrib/postgres/operations.py index e39d63ffa0..2d22c313b9 100644 --- a/django/contrib/postgres/operations.py +++ b/django/contrib/postgres/operations.py @@ -5,7 +5,7 @@ from django.db.migrations.operations.base import Operation class CreateExtension(Operation): reversible = True - def __init__(self, name): + def __init__(self, name, **kwargs): self.name = name def state_forwards(self, app_label, state): @@ -23,7 +23,7 @@ class CreateExtension(Operation): class HStoreExtension(CreateExtension): - def __init__(self): + def __init__(self, **kwargs): self.name = 'hstore' def database_forwards(self, app_label, schema_editor, from_state, to_state): |