فهرست منبع

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

Tim Graham 8 سال پیش
والد
کامیت
19a23fe562
1فایلهای تغییر یافته به همراه7 افزوده شده و 0 حذف شده
  1. 7 0
      docs/releases/1.11.txt

+ 7 - 0
docs/releases/1.11.txt

@@ -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`
 ---------------------------------