diff options
Diffstat (limited to 'django/db/backends/postgresql')
| -rw-r--r-- | django/db/backends/postgresql/base.py | 1 | ||||
| -rw-r--r-- | django/db/backends/postgresql/schema.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py index 9e24b186cf..3db3d6abd2 100644 --- a/django/db/backends/postgresql/base.py +++ b/django/db/backends/postgresql/base.py @@ -476,7 +476,6 @@ if is_psycopg3: return self.cursor.copy(statement) else: - Cursor = psycopg2.extensions.cursor class CursorDebugWrapper(BaseCursorDebugWrapper): diff --git a/django/db/backends/postgresql/schema.py b/django/db/backends/postgresql/schema.py index 2887071254..321fa530aa 100644 --- a/django/db/backends/postgresql/schema.py +++ b/django/db/backends/postgresql/schema.py @@ -5,7 +5,6 @@ from django.db.backends.utils import strip_quotes class DatabaseSchemaEditor(BaseDatabaseSchemaEditor): - # Setting all constraints to IMMEDIATE to allow changing data in the same # transaction. sql_update_with_default = ( |
