summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql
diff options
context:
space:
mode:
authorAdam Chainz <adam@adamj.eu>2015-09-10 17:47:50 +0100
committerClaude Paroz <claude@2xlibre.net>2015-09-11 08:40:43 +0200
commitb2f6e421a332ce45cf0f1f2f6bd5962765a013f1 (patch)
treef31a8304e9bd5f63a86f1696cd5a03e6ee644d4c /django/db/backends/postgresql
parentd3c92afe426c1e0a2223bb0296162dff4d1af585 (diff)
Fixed #25329 -- Prevented _nodb_connection from being left open
Diffstat (limited to 'django/db/backends/postgresql')
-rw-r--r--django/db/backends/postgresql/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py
index af616e48c4..383601e477 100644
--- a/django/db/backends/postgresql/base.py
+++ b/django/db/backends/postgresql/base.py
@@ -232,7 +232,7 @@ class DatabaseWrapper(BaseDatabaseWrapper):
else:
return True
- @cached_property
+ @property
def _nodb_connection(self):
nodb_connection = super(DatabaseWrapper, self)._nodb_connection
try: