[1.11.x] Fixed #28074 -- Doc'd template-based widget rendering changes for contrib.gis.

Backport of 19a23fe562 from master
This commit is contained in:
Tim Graham 2017-04-26 09:45:33 -04:00
parent 5ac322dd1f
commit e217e15ca1
1 changed files with 7 additions and 0 deletions

View File

@ -464,6 +464,13 @@ Backwards incompatible changes in 1.11
* Support for GDAL 1.7 and 1.8 is dropped.
* The widgets in ``contrib.gis.forms.widgets`` and the admin's
``OpenLayersWidget`` use the :doc:`form rendering API </ref/forms/renderers>`
rather than ``loader.render_to_string()``. If you're using a custom widget
template, you'll need to be sure your form renderer can locate it. For
example, you could use the :class:`~django.forms.renderers.TemplatesSetting`
renderer.
:mod:`django.contrib.staticfiles`
---------------------------------