summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/db/backends/__init__.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index 6e74c2b460..0f9423c1c3 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -53,6 +53,18 @@ class BaseDatabaseWrapper(object):
__hash__ = object.__hash__
+ def get_connection_params(self):
+ raise NotImplementedError
+
+ def get_new_connection(self, conn_params):
+ raise NotImplementedError
+
+ def init_connection_state(self):
+ raise NotImplementedError
+
+ def create_cursor(self):
+ raise NotImplementedError
+
def _cursor(self):
if self.connection is None:
conn_params = self.get_connection_params()