mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #24335 -- Bumped required psycopg2 version to 2.4.5 (2.5 for contrib.postgres).
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
``django.contrib.postgres``
|
||||
===========================
|
||||
|
||||
.. module:: django.contrib.postgres
|
||||
:synopsis: PostgreSQL-specific fields and features
|
||||
|
||||
.. versionadded:: 1.8
|
||||
|
||||
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.
|
||||
|
||||
.. note::
|
||||
Django is, and will continue to be, a database-agnostic web framework. We
|
||||
would encourage those writing reusable applications for the Django
|
||||
|
||||
@@ -92,8 +92,10 @@ below for information on how to set up your database correctly.
|
||||
PostgreSQL notes
|
||||
================
|
||||
|
||||
Django supports PostgreSQL 9.0 and higher. It requires the use of Psycopg2
|
||||
2.0.9 or higher.
|
||||
Django supports PostgreSQL 9.0 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`).
|
||||
|
||||
.. _psycopg2: http://initd.org/psycopg/
|
||||
|
||||
If you're on Windows, check out the unofficial `compiled Windows version`_
|
||||
of psycopg2.
|
||||
|
||||
@@ -834,7 +834,8 @@ officially supports.
|
||||
This also includes dropping support for PostGIS 1.3 and 1.4 as these versions
|
||||
are not supported on versions of PostgreSQL later than 8.4.
|
||||
|
||||
Django also now requires the use of Psycopg2 version 2.0.9 or higher.
|
||||
Django also now requires the use of Psycopg2 version 2.4.5 or higher (or 2.5+
|
||||
if you want to use :mod:`django.contrib.postgres`).
|
||||
|
||||
Support for MySQL versions older than 5.5
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user