Notes de publication de Django 1.8.6Lien vers cette rubrique
November 4, 2015
Django 1.8.6 adds official support for Python 3.5 and fixes several bugs in 1.8.5.
Correction de boguesLien vers cette rubrique
Fixed a regression causing
ModelChoiceFieldto ignoreprefetch_related()on its queryset (#25496).Allowed « mode=memory » in SQLite test database name if supported (#12118).
Fixed system check crash on
ForeignKeyto abstract model (#25503).Fixed incorrect queries when you have multiple
ManyToManyFields on different models that have the same field name, point to the same model, and have their reverse relations disabled (#25545).Allowed filtering over a
RawSQLannotation (#25506).Made the
Concatdatabase function idempotent on SQLite (#25517).Avoided a confusing stack trace when starting
runserverwith an invalidINSTALLED_APPSsetting (#25510). This regression appeared in 1.8.5 as a side effect of fixing #24704.Made deferred models use their proxied model’s
_meta.appsfor caching and retrieval (#25563). This prevents any models generated in data migrations usingQuerySet.defer()from leaking to test and application code.Fixed a typo in the name of the strictly_above PostGIS lookup (#25592).
Fixed crash with
contrib.postgres.forms.SplitArrayFieldandIntegerFieldon invalid value (#25597).Added a helpful error message when Django and South migrations exist in the same directory (#25618).
Fixed a regression in
URLValidatorthat allowed URLs with consecutive dots in the domain section (likehttp://example..com/) to pass (#25620).Fixed a crash with
GenericRelationandBaseModelAdmin.to_field_allowed(#25622).