﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24066	Django 1.6 Postgis 2.x detection broken	Matthias84	nobody	"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
"	Bug	closed	GIS	1.6	Normal	needsinfo	postgis detection		Unreviewed	0	0	0	0	0	0
