1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Fixed #34213 -- Updated PostgreSQL package names in installing PostGIS docs.

This commit is contained in:
Paolo Melchiorre 2022-12-14 16:49:50 +01:00 committed by GitHub
parent 9d9ec0c79f
commit d44ee518c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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