1
0
mirror of https://github.com/django/django.git synced 2025-01-27 10:39:40 +00:00

Tweaked the dummy database backend initialisation.

In order to report more comphrehensible tracebacks, remove the super()
constructor call, since passing args to object.__init__ ends badly. So some
subclassing possibilities are now removed, but it's the "dummy" backend, so
we can make some compromises.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick 2009-03-12 08:52:42 +00:00
parent bd6fc4848e
commit 5eccc59652

View File

@ -42,8 +42,6 @@ class DatabaseWrapper(object):
_rollback = ignore
def __init__(self, *args, **kwargs):
super(DatabaseWrapper, self).__init__(*args, **kwargs)
self.features = BaseDatabaseFeatures()
self.ops = DatabaseOperations()
self.client = DatabaseClient(self)