noc.core.model.db.base

Module Contents

class noc.core.model.db.base.DatabaseWrapper

Bases: django.db.backends.postgresql_psycopg2.base.DatabaseWrapper

_savepoint_allowed(self)
get_new_connection(self, conn_params)

Return raw psycopg connection. Do not mess with django setup phase :param conn_params: :return:

init_connection_state(self)
Returns:
_set_isolation_level(self, level)
_set_autocommit(self, state)