Django 1.11.2 release notes
Bugfixes
- Added detection for GDAL 2.1 and 2.0, and removed detection for unsupported versions 1.7 and 1.8 ().
- Changed
contrib.gis
to raiseImproperlyConfigured
rather thanGDALException
ifgdal
isn’t installed, to allow third-party apps to catch that exception (#28178). - Fixed
django.utils.http.is_safe_url()
crash on invalid IPv6 URLs (). - Fixed when multiple authentication backends don’t accept a positional
request
argument (#28207). - Fixed introspection of index field ordering on PostgreSQL ().
- Fixed a regression where
Model._state.adding
wasn’t set correctly on multi-table inheritance parent models after saving a child model (#28210). - Allowed
DjangoJSONEncoder
to serializedjango.utils.deprecation.CallableBool
(). - Relaxed the validation added in Django 1.11 of the fields in the
defaults
argument of andupdate_or_create()
to reallow settable model properties (#28222). - Prevented
Subquery
from adding an unnecessaryCAST
which resulted in invalid SQL (). - Corrected detection of GDAL 2.1 on Windows (#28181).
- Made date-based generic views return a 404 rather than crash when given an out of range date ().
- Fixed a regression where crashed when moving files to a CIFS mount (#28170).
- Moved the
ImageField
file extension validation added in Django 1.11 from the model field to the form field to reallow the use case of storing images without an extension ().