Merge pull request #1123 from Cykooz/master
Fixed detection of shared connections
This commit is contained in:
		| @@ -141,6 +141,7 @@ def get_connection(alias=DEFAULT_CONNECTION_NAME, reconnect=False): | ||||
|                 connection_settings.pop('name', None) | ||||
|                 connection_settings.pop('username', None) | ||||
|                 connection_settings.pop('password', None) | ||||
|                 connection_settings.pop('authentication_source', None) | ||||
|                 if conn_settings == connection_settings and _connections.get(db_alias, None): | ||||
|                     connection = _connections[db_alias] | ||||
|                     break | ||||
|   | ||||
		Reference in New Issue
	
	Block a user