mirror of
https://github.com/django/django.git
synced 2025-10-26 15:16:09 +00:00
Fixed tests broken in 2ee21d9.
This commit is contained in:
@@ -39,6 +39,9 @@ class DefaultConnectionProxy(object):
|
||||
def __setattr__(self, name, value):
|
||||
return setattr(connections[DEFAULT_DB_ALIAS], name, value)
|
||||
|
||||
def __delattr__(self, name):
|
||||
return delattr(connections[DEFAULT_DB_ALIAS], name)
|
||||
|
||||
connection = DefaultConnectionProxy()
|
||||
backend = load_backend(connection.settings_dict['ENGINE'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user