1.9.1.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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`).
  34. * Fixed incorrect timezone warnings in custom admin templates that don't have
  35. a ``data-admin-utc-offset`` attribute in the ``body`` tag.
  36. (:ticket:`25845`).
  37. * Fixed a regression which prevented using a language not in Django's default
  38. language list (:setting:`LANGUAGES`) (:ticket:`25915`).
  39. * Avoided hiding some exceptions, like an invalid ``INSTALLED_APPS`` setting,
  40. behind ``AppRegistryNotReady`` when starting ``runserver`` (:ticket:`25510`).
  41. This regression appeared in 1.8.5 as a side effect of fixing :ticket:`24704`
  42. and by mistake the fix wasn't applied to the ``stable/1.9.x`` branch.
  43. * Fixed ``migrate --fake-initial`` detection of many-to-many tables
  44. (:ticket:`25922`).