Fixed #20998 -- Allow custom (de)serialization for GIS widgets

Thanks Mathieu Leplatre for the report and the initial patch.
This commit is contained in:
Claude Paroz 2013-08-30 10:48:36 +02:00
parent 868b4c921c
commit 102f26c929
4 changed files with 53 additions and 22 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