diff options
Diffstat (limited to 'django/db/backends/__init__.py')
| -rw-r--r-- | django/db/backends/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py index a23751caf5..a2a1757ad3 100644 --- a/django/db/backends/__init__.py +++ b/django/db/backends/__init__.py @@ -153,7 +153,7 @@ class BaseDatabaseWrapper(object): """ self.validate_thread_sharing() if (self.use_debug_cursor or - (self.use_debug_cursor is None and settings.DEBUG)): + (self.use_debug_cursor is None and settings.DEBUG)): cursor = self.make_debug_cursor(self._cursor()) else: cursor = utils.CursorWrapper(self._cursor(), self) |
