Changes between Version 1 and Version 2 of Ticket #30071, comment 1


Ignore:
Timestamp:
Jan 9, 2019, 10:01:35 AM (6 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30071, comment 1

    v1 v2  
    11[https://github.com/django/django/pull/10813 PR]
     2
     3This change moves the explicit check before the attempt to use the key,
     4so that no `KeyError` is ever raised for `DEFAULT_DB_ALIAS`. It adds
     5a test for this case, and also adds a test for the case where the
     6default db is explicitly set to an empty dict.
Back to Top