Django 1.8.6 release notes
Django 1.8.6 adds official support for Python 3.5 and fixes several bugs in 1.8.5.
- Fixed a regression causing to ignore
prefetch_related()
on its queryset (). - Allowed “mode=memory” in SQLite test database name if supported (#12118).
- Fixed system check crash on
ForeignKey
to abstract model (). - Allowed filtering over a
RawSQL
annotation (#25506). - Made the database function idempotent on SQLite ().
- Avoided a confusing stack trace when starting
runserver
with an invalid setting (#25510). This regression appeared in 1.8.5 as a side effect of fixing . - Made deferred models use their proxied model’s
_meta.apps
for caching and retrieval (#25563). This prevents any models generated in data migrations usingQuerySet.defer()
from leaking to test and application code. - Fixed crash with
contrib.postgres.forms.SplitArrayField
andIntegerField
on invalid value (). - Added a helpful error message when Django and South migrations exist in the same directory (#25618).
- Fixed a regression in
URLValidator
that allowed URLs with consecutive dots in the domain section (likehttp://example..com/
) to pass (). - Fixed a crash with and
BaseModelAdmin.to_field_allowed
(#25622).