diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-05 12:06:04 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-04-05 12:13:05 +0200 |
| commit | d13490c18a075799aec1951ee7e260876b5d1ba6 (patch) | |
| tree | 93dd9548e7b3c47b586d15c56607fbd9476b72a1 | |
| parent | 22c0564193dd8dbd2e6cbfba1cd2b11d334bf172 (diff) | |
[1.11.x] Refs #30331 -- Doc'd that psycopg2 < 2.8 is required.
Backport of 0a8617a5b1cac7063f30e4d8ff4ea4c30748f7b8 from stable/2.1.x.
| -rw-r--r-- | docs/ref/databases.txt | 4 | ||||
| -rw-r--r-- | 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 67307a9bc8..02eb86d474 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.3 and higher. `psycopg2`_ 2.5.4 or higher is -required, though the latest release is recommended. +Django supports PostgreSQL 9.3 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 |
