1.8.5.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. ==========================
  2. Django 1.8.5 release notes
  3. ==========================
  4. *Under development*
  5. Django 1.8.5 fixes several bugs in 1.8.4.
  6. Bugfixes
  7. ========
  8. * Made the development server's autoreload more robust (:ticket:`24704`).
  9. * Fixed ``AssertionError`` in some delete queries with a model containing a
  10. field that is both a foreign and primary key (:ticket:`24951`).
  11. * Fixed ``AssertionError`` in some complex queries (:ticket:`24525`).
  12. * Fixed a migrations crash with ``GenericForeignKey`` (:ticket:`25040`).
  13. * Made ``translation.override()`` clear the overridden language when a
  14. translation isn't initially active (:ticket:`25295`).
  15. * Fixed crash when using a value in ``ModelAdmin.list_display`` that clashed
  16. with a reverse field on the model (:ticket:`25299`).
  17. * Fixed autocompletion for options of non-``argparse`` management commands
  18. (:ticket:`25372`).
  19. * Alphabetized ordering of imports in ``from django.db import migrations,
  20. models`` statement in newly created migrations (:ticket:`25384`).
  21. * Fixed migrations crash on MySQL when adding a text or a blob field with an
  22. unhashable default (:ticket:`25393`).
  23. * Changed ``Count`` queries to execute ``COUNT(*)`` instead of ``COUNT('*')``
  24. as versions of Django before 1.8 did (:ticket:`25377`). This may fix a
  25. performance regression on some databases.
  26. * Fixed custom queryset chaining with ``values()`` and ``values_list()``
  27. (:ticket:`20625`).
  28. * Moved the :ref:`unsaved model instance assignment data loss check
  29. <unsaved-model-instance-check-18>` on reverse relations to ``Model.save()``
  30. (:ticket:`25160`).
  31. * Readded inline foreign keys to form instances when validating model formsets
  32. (:ticket:`25431`).
  33. * Allowed using ORM write methods after disabling autocommit with
  34. :func:`set_autocommit(False) <django.db.transaction.set_autocommit>`
  35. (:ticket:`24921`).