PostGIS : already installed, but with scripts, not extension

10 views
Skip to first unread message

Not Sqrt

unread,
May 22, 2019, 6:20:14 AM5/22/19
to Django users
Hi,


I originally installed PostGiS with :
psql -d template_postgis -f $POSTGIS_SQL_PATH/postgis.sql


Now, django always wants to run "CREATE EXTENSION IF NOT EXISTS postgis", which fails with:
PostGIS is already installed in schema 'public'

Other than commenting the code in django/contrib/gis/db/backends/postgis/base.py, is there something else to do ?

Thanks a lot !
Reply all
Reply to author
Forward
0 new messages