[1.6.x] Fixed #20998 -- Allow custom (de)serialization for GIS widgets

Thanks Mathieu Leplatre for the report and the initial patch.
Backport of 102f26c92 from master.
This commit is contained in:
Claude Paroz 2013-08-30 10:48:36 +02:00
parent 64383e8349
commit 4e3794dd1f
4 changed files with 53 additions and 23 deletions

View file

@ -114,11 +114,11 @@ from other Django widget attributes.
SRID code used by the map (default is 4326).
.. attribute:: BaseGeometryWidget.display_wkt
.. attribute:: BaseGeometryWidget.display_raw
Boolean value specifying if a textarea input showing the WKT representation
of the current geometry is visible, mainly for debugging purposes (default
is ``False``).
Boolean value specifying if a textarea input showing the serialized
representation of the current geometry is visible, mainly for debugging
purposes (default is ``False``).
.. attribute:: BaseGeometryWidget.supports_3d