1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

[multi-db] Fixed dummy backend DatabaseWrapper(): needs to accept settings argument like real backends.

git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jason Pellerin 2006-07-07 20:45:31 +00:00
parent 05086e5353
commit f043b395ba

View File

@ -16,10 +16,14 @@ class DatabaseError(Exception):
pass
class DatabaseWrapper:
cursor = complain
_commit = complain
_rollback = complain
def __init__(self, settings):
self.settings = settings
def close(self):
pass # close()