summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-04-05 12:06:04 +0200
committerGitHub <noreply@github.com>2019-04-05 12:06:04 +0200
commit0a8617a5b1cac7063f30e4d8ff4ea4c30748f7b8 (patch)
treee956713d7811f57c47986d941985e8d841abc784
parent32561b84f75aadac8198198d8a6004840bb998ee (diff)
[2.1.x] Refs #30331 -- Doc'd that psycopg2 < 2.8 is required.
-rw-r--r--docs/ref/databases.txt4
-rw-r--r--tests/requirements/postgres.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index 282da9fd7e..583d533f30 100644
--- a/docs/ref/databases.txt
+++ b/docs/ref/databases.txt
@@ -92,8 +92,8 @@ below for information on how to set up your database correctly.
PostgreSQL notes
================
-Django supports PostgreSQL 9.4 and higher. `psycopg2`_ 2.5.4 or higher is
-required, though the latest release is recommended.
+Django supports PostgreSQL 9.4 and higher. `psycopg2`_ 2.5.4 through 2.7.7 is
+required, though the 2.7.7 is recommended.
.. _psycopg2: http://initd.org/psycopg/
diff --git a/tests/requirements/postgres.txt b/tests/requirements/postgres.txt
index 820d85bb44..86cf59f339 100644
--- a/tests/requirements/postgres.txt
+++ b/tests/requirements/postgres.txt
@@ -1 +1 @@
-psycopg2-binary>=2.5.4
+psycopg2-binary>=2.5.4,<2.8