Fixed #39 -- Thanks for the research, deelan!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
058c526ef9
commit
caef61945d
|
@ -35,10 +35,11 @@ class DatabaseWrapper:
|
|||
return self.connection.cursor()
|
||||
|
||||
def commit(self):
|
||||
pass
|
||||
self.connection.commit()
|
||||
|
||||
def rollback(self):
|
||||
pass
|
||||
if self.connection:
|
||||
self.connection.rollback()
|
||||
|
||||
def close(self):
|
||||
if self.connection is not None:
|
||||
|
|
Loading…
Reference in New Issue