summaryrefslogtreecommitdiff
path: root/django/contrib/postgres/operations.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/postgres/operations.py')
-rw-r--r--django/contrib/postgres/operations.py4
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):