﻿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
21496	Django 1.6 django.contrib.gis GeometryField crashes on alternate widget	rhettg@…	nobody	"If I use a TextInput widget to edit a PointField, form validation crashes because the widget doesn't have a `map_srid`.

The string representation of a Point using the default srid (4326) doesn't define the SRID, which is unfortunate.
{{{ 
  >> p.srid
  4326
  >> str(p)
  'POINT (-122.3996132001327055 37.7942941983347467)'

  >> p2 = GEOSGeometry('POINT (-122.3996132001327055 37.7942941983347467)')
  >> p2.srid
  None
}}}
I think the best solution would be to allow the field to transform the value into whatever the default is set as for the field, unless otherwise specified by the widget. 

So something like the following PR would be required:
https://github.com/django/django/pull/1966

"	Bug	new	GIS	1.6	Normal				Accepted	0	0	0	0	0	0
