From 7433237664e9a942d6584b4e70fd6a5174cf8f39 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 14 Sep 2023 06:04:12 +0200 Subject: Refs #33924 -- Removed BaseGeometryWidget.map_height/map_width attributes per deprecation timeline. --- docs/ref/contrib/gis/forms-api.txt | 10 ---------- docs/releases/5.1.txt | 3 +++ 2 files changed, 3 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/ref/contrib/gis/forms-api.txt b/docs/ref/contrib/gis/forms-api.txt index 11e1bc77f4..61308c5933 100644 --- a/docs/ref/contrib/gis/forms-api.txt +++ b/docs/ref/contrib/gis/forms-api.txt @@ -101,16 +101,6 @@ from other Django widget attributes. The OpenGIS geometry type, generally set by the form field. -.. attribute:: BaseGeometryWidget.map_height -.. attribute:: BaseGeometryWidget.map_width - - Height and width of the widget map (default is 400x600). - - .. deprecated:: 4.2 - - ``map_height`` and ``map_width`` attributes are deprecated, use CSS to - size map widgets instead. - .. attribute:: BaseGeometryWidget.map_srid SRID code used by the map (default is 4326). diff --git a/docs/releases/5.1.txt b/docs/releases/5.1.txt index d4510d30db..a1825a7954 100644 --- a/docs/releases/5.1.txt +++ b/docs/releases/5.1.txt @@ -267,3 +267,6 @@ to remove usage of these features. support in historical migrations. * The ``django.contrib.postgres.fields.CIText`` mixin is removed. + +* The ``map_width`` and ``map_height`` attributes of ``BaseGeometryWidget`` are + removed. -- cgit v1.3