Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added required methods in BaseDatabaseWrapper.

I should have included this in 29628e0.
  • Loading branch information...
commit ffcfb19f47f5995406003cffca24cf62c6d234a8 1 parent 21765c0
@aaugustin aaugustin authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 django/db/backends/__init__.py
View
12 django/db/backends/__init__.py
@@ -53,6 +53,18 @@ def __ne__(self, other):
__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()
Please sign in to comment.
Something went wrong with that request. Please try again.