id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 29057 contrib.postgres OID caching crashes when initializing a ConnectionHandler manually Riccardo Di Virgilio nobody "please note that this works on django 1.10 {{{ c = ConnectionHandler( {'temp': {'NAME': 'template1', 'ENGINE': 'django.db.backends.postgresql', 'USER': 'rdv', 'HOST': 'localhost', 'PORT': '5432', 'PASSWORD': '', 'OPTIONS': {}, 'READONLY': False, 'BACKUP': False, 'RESTORE': 'release', 'RESTORE_AUTO': True, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}, 'default': {'NAME': 'rotostampa_db', 'ENGINE': 'django.db.backends.postgresql', 'USER': 'rdv', 'HOST': 'localhost', 'PORT': '5432', 'PASSWORD': '', 'OPTIONS': {}, 'READONLY': False, 'BACKUP': False, 'RESTORE': 'release', 'RESTORE_AUTO': True, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}) c['temp'].cursor() }}} {{{ raise ConnectionDoesNotExist(""The connection %s doesn't exist"" % alias) django.db.utils.ConnectionDoesNotExist: The connection temp doesn't exist }}} " Cleanup/optimization closed contrib.postgres 2.0 Normal fixed Mariusz Felisiak Accepted 0 0 0 0 0 0