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:
parent
05086e5353
commit
f043b395ba
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user