Fixed #27966 -- Bumped required psycopg2 version to 2.5.4.

Thanks Tim Graham for the review.
This commit is contained in:
Mariusz Felisiak 2017-03-21 17:23:17 +01:00 committed by GitHub
parent 7063a85579
commit 43380e9110
6 changed files with 9 additions and 9 deletions

View file

@ -517,7 +517,7 @@ using in conjunction with lookups on
of the JSON which allows indexing. The trade-off is a small additional cost
on writing to the ``jsonb`` field. ``JSONField`` uses ``jsonb``.
**As a result, this field requires PostgreSQL ≥ 9.4 and Psycopg2 ≥ 2.5.4**.
**As a result, this field requires PostgreSQL ≥ 9.4**.
Querying ``JSONField``
----------------------

View file

@ -9,9 +9,6 @@ PostgreSQL has a number of features which are not shared by the other databases
Django supports. This optional module contains model fields and form fields for
a number of PostgreSQL specific data types.
Psycopg2 2.5 or higher is required, though we highly recommend using the latest
release. Some fields require higher versions.
.. note::
Django is, and will continue to be, a database-agnostic web framework. We
would encourage those writing reusable applications for the Django

View file

@ -92,8 +92,8 @@ below for information on how to set up your database correctly.
PostgreSQL notes
================
Django supports PostgreSQL 9.3 and higher. It requires the use of `psycopg2`_
2.4.5 or higher (or 2.5+ if you want to use :mod:`django.contrib.postgres`).
Django supports PostgreSQL 9.3 and higher. `psycopg2`_ 2.5.4 or higher is
required, though the latest release is recommended.
.. _psycopg2: http://initd.org/psycopg/