Django 1.8.5 release notes
Django 1.8.5 fixes several bugs in 1.8.4.
- Made the development server’s autoreload more robust (#24704).
- Fixed in some delete queries with a model containing a field that is both a foreign and primary key ().
- Fixed
AssertionError
in some complex queries (#24525). - Fixed a migrations crash with
GenericForeignKey
(). - Fixed crash when using a value in
ModelAdmin.list_display
that clashed with a reverse field on the model (#25299). - Fixed autocompletion for options of non- management commands ().
- Alphabetized ordering of imports in
from django.db import migrations, models
statement in newly created migrations (#25384). - Fixed migrations crash on MySQL when adding a text or a blob field with an unhashable default ().
- Changed
Count
queries to executeCOUNT(*)
instead ofCOUNT('*')
as versions of Django before 1.8 did (#25377). This may fix a performance regression on some databases. - Moved the on reverse relations to
Model.save()
(#25160). - Readded inline foreign keys to form instances when validating model formsets ().
- Allowed using ORM write methods after disabling autocommit with
set_autocommit(False)
(). - Fixed the
manage.py test --keepdb
option on Oracle (#25421). - Fixed incorrect queries with multiple many-to-many fields on a model with the same ‘to’ model and with set to ‘+’ (, #25486).