mirror of
https://github.com/django/django.git
synced 2024-12-26 02:56:25 +00:00
Fixed #1797 -- Fixed NameError in ado_mssql backend. Thanks, pb
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c63372f3c4
commit
05fd735afe
@ -68,7 +68,7 @@ class DatabaseWrapper(local):
|
|||||||
self.connection = Database.connect(conn_string)
|
self.connection = Database.connect(conn_string)
|
||||||
cursor = self.connection.cursor()
|
cursor = self.connection.cursor()
|
||||||
if settings.DEBUG:
|
if settings.DEBUG:
|
||||||
return base.CursorDebugWrapper(cursor, self)
|
return util.CursorDebugWrapper(cursor, self)
|
||||||
return cursor
|
return cursor
|
||||||
|
|
||||||
def _commit(self):
|
def _commit(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user