﻿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
21909	manage.py sql/migrate fails to product SQL for geometry fields	Akis Kesoglou	nobody	"Hello,

assume the following model:

{{{
from django.contrib.gis.db import models


class Location(models.Model):
    point = models.PointField(srid=4326)
    objects = models.GeoManager()

}}}

running {{{./manage.py sql testgis}}} produces the following output:

{{{
BEGIN;
CREATE TABLE ""testgis_location"" (
    ""id"" integer NOT NULL PRIMARY KEY AUTOINCREMENT
)
;

COMMIT;
}}}

I have attached a test project.

- Python 2.7.5 (also happens in Python 3.3)
- Django master@9c8d62a06fc83efa019f23b6b87b39a82c95ab97
- SQLite 3.7
- spatialite 4.1
"	Bug	closed	GIS	dev	Normal	invalid			Unreviewed	0	0	0	0	0	0
