1.9.1.txt 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ==========================
  2. Django 1.9.1 release notes
  3. ==========================
  4. *Under development*
  5. Django 1.9.1 fixes several bugs in 1.9.
  6. Bugfixes
  7. ========
  8. * Fixed ``BaseCache.get_or_set()`` with the ``DummyCache`` backend
  9. (:ticket:`25840`).
  10. * Fixed a regression in ``FormMixin`` causing forms to be validated twice
  11. (:ticket:`25548`).
  12. * Fixed a system check crash with nested ``ArrayField``\s (:ticket:`25867`).
  13. * Fixed a state bug when migrating a ``SeparateDatabaseAndState`` operation
  14. backwards (:ticket:`25896`).
  15. * Fixed a regression in ``CommonMiddleware`` causing ``If-None-Match`` checks
  16. to always return HTTP 200 (:ticket:`25900`).
  17. * Fixed missing ``varchar/text_pattern_ops`` index on ``CharField`` and
  18. ``TextField`` respectively when using ``AlterField`` on PostgreSQL
  19. (:ticket:`25412`).
  20. * Fixed admin's delete confirmation page's summary counts of related objects
  21. (:ticket:`25883`).
  22. * Added ``from __future__ import unicode_literals`` to the default ``apps.py``
  23. created by ``startapp`` on Python 2 (:ticket:`25909`). Add this line to your
  24. own ``apps.py`` files created using Django 1.9 if you want your migrations
  25. to work on both Python 2 and Python 3.
  26. * Prevented ``QuerySet.delete()`` from crashing on MySQL when querying across
  27. relations (:ticket`25882`).
  28. * Fixed evaluation of zero-length slices of ``QuerySet.values()``
  29. (:ticket:`25894`).
  30. * Fixed a state bug when using an ``AlterModelManagers`` operation
  31. (:ticket:`25852`).
  32. * Fixed ``TypedChoiceField`` change detection with nullable fields
  33. (:ticket:`25942`).