Ticket #12558: db.diff

File db.diff, 636 bytes (added by Oliver Beattie, 15 years ago)
  • django/db/utils.py

     
    5656        except KeyError:
    5757            raise ConnectionDoesNotExist("The connection %s doesn't exist" % alias)
    5858        conn.setdefault('ENGINE', 'django.db.backends.dummy')
    59         if conn['ENGINE'] == 'django.db.backends.':
     59        if conn['ENGINE'] == 'django.db.backends.' or not conn['ENGINE']:
    6060            conn['ENGINE'] = 'django.db.backends.dummy'
    6161        conn.setdefault('OPTIONS', {})
    6262        conn.setdefault('TEST_CHARSET', None)
Back to Top