mirror of
https://github.com/django/django.git
synced 2025-08-08 04:48:27 +00:00
[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:
parent
64383e8349
commit
4e3794dd1f
4 changed files with 53 additions and 23 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue