From 837ffcfa681d0f65f444d881ee3d69aec23770be Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Mon, 21 Jun 2021 13:06:31 +0200 Subject: [PATCH] [2.2.x] Refs #32856 -- Doc'd that psycopg2 < 2.9 is required. --- docs/ref/databases.txt | 4 ++-- tests/requirements/postgres.txt | 2 +- 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