#24066: Django 1.6 Postgis 2.x detection broken
----------------------------+-------------------------------
Reporter: Matthias84 | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 1.6
Severity: Normal | Keywords: postgis detection
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+-------------------------------
Hi, I realy enjoy (geo)Django to rapidly develop smal GIS applications for
some time now. Unfortunatly, I guess I found a bug:
If you install Django and try to add GIS functionality thanks to
Postgres+PostGIS, django seems to be unable to detect PostGIS correctly
and reports at syncdb and similat commands:
{{{
Cannot determine PostGIS version for database "django_geotest". GeoDjango
requires at least PostGIS version 1.3. Was the database created from a
spatial database template?
}}}
There is a workaround by faking the postgis version manually, that work
for me: https://stackoverflow.com/questions/10584852/my-postgis-database-
looks-fine-but-geodjango-thinks-otherwise-why
My setup:
* Linux Mint 17
* Python 2.7 and venv
* Django 1.6.8
* Postgres 9.3 and PostGIS 2.1 following the official tutorial
--
Ticket URL: <https://code.djangoproject.com/ticket/24066>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/053.55a58aed05ab9d1a63840891eec24984%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.