summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2021-06-21 13:06:31 +0200
committerGitHub <noreply@github.com>2021-06-21 13:06:31 +0200
commit837ffcfa681d0f65f444d881ee3d69aec23770be (patch)
tree840311facb9d9d02ccbcbb544e671de793d1e2a6
parentdc43667eab51ddf417ab36be849aa039a4cd7be9 (diff)
[2.2.x] Refs #32856 -- Doc'd that psycopg2 < 2.9 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 03085eab52..6f97fda828 100644
--- a/docs/ref/databases.txt
+++ b/docs/ref/databases.txt
@@ -102,10 +102,10 @@ 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
+Django supports PostgreSQL 9.4 and higher. `psycopg2`_ 2.5.4 through 2.8.6 is
required, though the latest release is recommended.
-.. _psycopg2: http://initd.org/psycopg/
+.. _psycopg2: https://www.psycopg.org/
PostgreSQL connection settings
-------------------------------
diff --git a/tests/requirements/postgres.txt b/tests/requirements/postgres.txt
index 820d85bb44..8443499580 100644
--- a/tests/requirements/postgres.txt
+++ b/tests/requirements/postgres.txt
@@ -1 +1 @@
-psycopg2-binary>=2.5.4
+psycopg2-binary>=2.5.4, < 2.9