summaryrefslogtreecommitdiff
path: root/django/contrib/gis/forms/widgets.py
AgeCommit message (Collapse)Author
3 daysFixed #36990 -- Bumped OpenLayers to 10.9.0.VIZZARD-X
2026-02-06Fixed #36246 -- Caught GDALException in BaseGeometryWidget.deserialize.JaeHyuck Sa
Signed-off-by: JaeHyuck Sa <wogur981208@gmail.com>
2025-06-12Fixed #25706 -- Refactored geometry widgets to remove inline JavaScript.Claude Paroz
Refactored GIS-related JavaScript initialization to eliminate inline scripts from templates. Added support for specifying a base layer using the new `base_layer_name` attribute on `BaseGeometryWidget`, allowing custom map tile providers via user-defined JavaScript. As a result, the `gis/openlayers-osm.html` template was removed. Thanks Sarah Boyce for reviews. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2023-09-18Refs #33924 -- Removed BaseGeometryWidget.map_height/map_width attributes ↵Mariusz Felisiak
per deprecation timeline.
2022-12-29Upgraded OpenLayers to v.7.2.2.Claude Paroz
2022-08-12Fixed #33924 -- Deprecated BaseGeometryWidget.map_height/map_width attributes.Claude Paroz
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-11-28Fixed #21021 -- Changed BaseGeometryWidget's default geometry type to ↵Giannis Adamopoulos
'Geometry'.
2018-05-10Upgraded OpenLayers to 4.6.5 for OpenLayersWidgetClaude Paroz
2018-04-02Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring the widget ↵Claude Paroz
map's SRID. Regression in 6ecccad711b52f9273b1acb07a57d3f806e93928.
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-05-14Fixed #28195 -- Added OSMWidget.default_zoom attribute.Danilo Bargen
2017-04-30Fixed #28105 -- Fixed crash in BaseGeometryWidget.get_context() when ↵Dylan Verheul
overriding existing attrs.
2017-04-20Fixed #28039 -- Fixed crash in BaseGeometryWidget.subwidgets().Tim Graham
2017-03-30Fixed #25873 -- Made GEOSGeometry handle the srid parameter more predictably.Sergey Fedoseev
2017-03-21Refs #27919 -- Changed contrib widget's get_context() attrs kwarg to an arg.Tim Graham
Follow up to 075e93c16a82ba7869a0b2d572e99fdbd0724042.
2017-03-17Fixed #27939 -- Updated OpenLayersWidget.map_srid for OpenLayers 3.Tim Graham
Regression in 2ebfda38e65177dfc7d6e90457ffa4a0fa2796f0 (refs #25004).
2017-02-04Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
Thanks Tim Graham and Simon Charette for the reviews.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-02Fixed #25004 -- Updated OpenLayers-based widget to OpenLayers 3Claude Paroz
Thanks Tim Graham for the review.
2016-12-27Fixed #15667 -- Added template-based widget rendering.Preston Timmons
Thanks Carl Meyer and Tim Graham for contributing to the patch.
2016-09-03Fixed #26098 -- Used cdnjs.cloudflare for OpenLayers.js.Daniel Hahler
2016-08-08Fixed #27024 -- Prevented logging error with empty string as geometry widget ↵Claude Paroz
value Thanks Gavin Wahl for the report, and Tim Graham for the review.
2016-06-18Fixed #26753 -- Made GDAL a required dependency for contrib.gisClaude Paroz
Thanks Tim Graham for the review.
2016-05-02Fixed #26569 -- Updated OSM Mapnik constructorbgaechter
2015-12-26Passed logging message parameters as arguments instead of interpolating them.Ville Skyttä
2015-10-03Upgraded OpenLayers version from 2.13 to 2.13.1Claude Paroz
Thanks Daniel Hahler for the initial patch.
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2014-12-18Fixed #24014 -- Unified OGRException and GDALExceptionClaude Paroz
Thanks Tim Graham for the review.
2014-03-29Dropped support for GDAL 1.6Claude Paroz
2013-12-14Fixed #21606 -- Fixed default_lat and default_lon override in OSMWidgetJakub Gocławski
2013-12-10Fixed E124 pep8 warnings.Loic Bistuer
2013-10-24Start attacking E231 violationsAlex Gaynor
2013-10-23Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol
2013-10-17Fixed #21285 -- Fixed E121,E122 pep8 warningsAlasdair Nicol
2013-10-12Updated OpenLayers version from 2.11 to 2.13Claude Paroz
2013-09-03Fixed #21003 -- Ensured geometry widget return value has SRIDClaude Paroz
Thanks Mathieu Leplatre for the report and initial patch.
2013-09-03Prevented rendering attrs to be squashed in OSMWidgetClaude Paroz
2013-09-03Fixed syntax error in OSMWidgetClaude Paroz
2013-09-02Fixed #20998 -- Allow custom (de)serialization for GIS widgetsClaude Paroz
Thanks Mathieu Leplatre for the report and the initial patch.
2013-05-17Fixed #5472 --Added OpenLayers-based widgets in contrib.gisClaude Paroz
Largely inspired from django-floppyforms. Designed to not depend on OpenLayers at code level.