Skip to content

Commit e217e15

Browse files
committed
[1.11.x] Fixed #28074 -- Doc'd template-based widget rendering changes for contrib.gis.
Backport of 19a23fe from master
1 parent 5ac322d commit e217e15

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/releases/1.11.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,13 @@ Backwards incompatible changes in 1.11
464464

465465
* Support for GDAL 1.7 and 1.8 is dropped.
466466

467+
* The widgets in ``contrib.gis.forms.widgets`` and the admin's
468+
``OpenLayersWidget`` use the :doc:`form rendering API </ref/forms/renderers>`
469+
rather than ``loader.render_to_string()``. If you're using a custom widget
470+
template, you'll need to be sure your form renderer can locate it. For
471+
example, you could use the :class:`~django.forms.renderers.TemplatesSetting`
472+
renderer.
473+
467474
:mod:`django.contrib.staticfiles`
468475
---------------------------------
469476

0 commit comments

Comments
 (0)