1
0
mirror of https://github.com/django/django.git synced 2025-07-05 18:29:11 +00:00

[multi-db] Cleaned up settings access in ConnectionInfo.

git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3240 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jason Pellerin 2006-06-30 18:02:01 +00:00
parent 3d8ebb3bec
commit 763e087de1

View File

@ -56,8 +56,8 @@ class ConnectionInfo(object):
def __repr__(self):
return "Connection: %r (ENGINE=%s NAME=%s)" \
% (self.connection,
self.connection.settings.DATABASE_ENGINE,
self.connection.settings.DATABASE_NAME)
self.settings.DATABASE_ENGINE,
self.settings.DATABASE_NAME)
def close(self):
"""Close connection"""