1
0
mirror of https://github.com/django/django.git synced 2025-04-05 05:56:42 +00:00

[4.1.x] Fixed #34213 -- Updated PostgreSQL package names in installing PostGIS docs.

Backport of d44ee518c4c110af25bebdbedbbf9fba04d197aa from main
This commit is contained in:
Paolo Melchiorre 2022-12-14 16:49:50 +01:00 committed by Mariusz Felisiak
parent 1106c99a1f
commit 2d156780f3

View File

@ -11,8 +11,8 @@ The `psycopg2`_ module is required for use as the database adapter when using
GeoDjango with PostGIS.
On Debian/Ubuntu, you are advised to install the following packages:
``postgresql-x.x``, ``postgresql-x.x-postgis``, ``postgresql-server-dev-x.x``,
and ``python-psycopg2`` (x.x matching the PostgreSQL version you want to
``postgresql-x``, ``postgresql-x-postgis-3``, ``postgresql-server-dev-x``,
and ``python3-psycopg2`` (x matching the PostgreSQL version you want to
install). Alternately, you can `build from source`_. Consult the
platform-specific instructions if you are on :ref:`macos` or :ref:`windows`.