mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #20956 -- Removed useless check in django.db.utils
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							297f5af222
						
					
				
				
					commit
					ce0e86cf76
				
			| @@ -173,7 +173,7 @@ class ConnectionHandler(object): | ||||
|             conn.setdefault('AUTOCOMMIT', False) | ||||
|         conn.setdefault('AUTOCOMMIT', True) | ||||
|         conn.setdefault('ENGINE', 'django.db.backends.dummy') | ||||
|         if conn['ENGINE'] == 'django.db.backends.' or not conn['ENGINE']: | ||||
|         if conn['ENGINE'] == 'django.db.backends.': | ||||
|             conn['ENGINE'] = 'django.db.backends.dummy' | ||||
|         conn.setdefault('CONN_MAX_AGE', 0) | ||||
|         conn.setdefault('OPTIONS', {}) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user