June 1, 2017
Django 1.11.2 adds a minor feature and fixes several bugs in 1.11.1. Also, the latest string translations from Transifex are incorporated.
The new LiveServerTestCase.port
attribute reallows the use case of binding
to a specific port following the bind to port zero change in Django 1.11.
contrib.gis
to raise ImproperlyConfigured
rather than
GDALException
if gdal
isn’t installed, to allow third-party apps to
catch that exception (#28178).django.utils.http.is_safe_url()
crash on invalid IPv6 URLs
(#28142).django.contrib.auth.authenticate()
when multiple authentication
backends don’t accept a positional request
argument (#28207).Model._state.adding
wasn’t set correctly on
multi-table inheritance parent models after saving a child model
(#28210).DjangoJSONEncoder
to serialize
django.utils.deprecation.CallableBool
(#28230).defaults
argument of QuerySet.get_or_create()
and update_or_create()
to
reallow settable model properties (#28222).MultipleObjectMixin.paginate_queryset()
crash on Python 2 if the
InvalidPage
message contains non-ASCII (#28204).Subquery
from adding an unnecessary CAST
which resulted in
invalid SQL (#28199).file_move_safe()
crashed when moving files to a
CIFS mount (#28170).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 (#28242).Jul 27, 2022