﻿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
12035	admin docs field dictionary miss GIS type informations	elpaso66	nobody	"This result in an error while browsing admin docs:




{{{
KeyError at /admin/doc/models/risorse.poi/

'PointField'

Request Method: 	GET
Request URL: 	http://127.0.0.1:8000/admin/doc/models/risorse.poi/
Exception Type: 	KeyError
Exception Value: 	

'PointField'

Exception Location: 	/trunk/django/contrib/admindocs/views.py in get_readable_field_data_type, line 369
}}}

This can be easily solved adding 



{{{
Index: views.py
===================================================================
--- views.py    (revisione 11602)
+++ views.py    (copia locale)
@@ -359,6 +359,14 @@
     'URLField'                  : _('URL'),
     'USStateField'              : _('U.S. state (two uppercase letters)'),
     'XMLField'                  : _('XML text'),
+    'PointField'                : _('GIS Point'),
+    'LineStringField'           : _('GIS Line'),
+    'PolygonField'              : _('GIS Polygon'),
+    'MultiLineString'           : _('GIS Multiple Line'),
+    'MultiLinePoint'            : _('GIS Multiple Point'),
+    'MultiLinePolygon'          : _('GIS Multiple Polygon'),
+    'GeometryCollectionField'   : _('GIS Geometry Collection')
+
 }

 def get_readable_field_data_type(field):

}}}


"		closed	GIS	1.1		duplicate	gis admindocs		Unreviewed	0	0	0	0	0	0
