MCPcopy
hub / github.com/django/django / init_connection_state

Method init_connection_state

django/db/backends/base/base.py:222–226  ·  view source on GitHub ↗

Initialize the database connection settings.

(self)

Source from the content-addressed store, hash-verified

220 )
221
222 def init_connection_state(self):
223 """Initialize the database connection settings."""
224 if self.alias not in RAN_DB_VERSION_CHECK:
225 self.check_database_version_supported()
226 RAN_DB_VERSION_CHECK.add(self.alias)
227
228 def create_cursor(self, name=None):
229 """Create a cursor. Assume that a connection is established."""

Callers 1

connectMethod · 0.95

Calls 2

addMethod · 0.45

Tested by

no test coverage detected