summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/base.py
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2017-03-21 17:23:17 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2017-03-21 17:40:04 +0100
commitb06855facdd0fd1eecae7bce75c815c8a6af19b6 (patch)
tree99bb161d631084543d20cc1823a6450097bac04f /django/db/backends/postgresql/base.py
parenta937785e2a6eb3d9b8804c3a02ba5d0126482f57 (diff)
[1.11.x] Fixed #27966 -- Bumped required psycopg2 version to 2.5.4.
Thanks Tim Graham for the review. Backport of 43380e911073beab401a2fdeca0f25001e170dac from master
Diffstat (limited to 'django/db/backends/postgresql/base.py')
-rw-r--r--django/db/backends/postgresql/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/django/db/backends/postgresql/base.py b/django/db/backends/postgresql/base.py
index c40a67b2e1..df5f37b43a 100644
--- a/django/db/backends/postgresql/base.py
+++ b/django/db/backends/postgresql/base.py
@@ -32,8 +32,8 @@ def psycopg2_version():
PSYCOPG2_VERSION = psycopg2_version()
-if PSYCOPG2_VERSION < (2, 4, 5):
- raise ImproperlyConfigured("psycopg2_version 2.4.5 or newer is required; you have %s" % psycopg2.__version__)
+if PSYCOPG2_VERSION < (2, 5, 4):
+ raise ImproperlyConfigured("psycopg2_version 2.5.4 or newer is required; you have %s" % psycopg2.__version__)
# Some of these import psycopg2, so import them after checking if it's installed.