diff --git a/django/db/utils.py b/django/db/utils.py index a1a2c0b564..8dbfc117a5 100644 --- a/django/db/utils.py +++ b/django/db/utils.py @@ -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', {})