5.0.2.txt 1.0 KB

123456789101112131415161718192021222324252627282930
  1. ==========================
  2. Django 5.0.2 release notes
  3. ==========================
  4. *February 6, 2024*
  5. Django 5.0.2 fixes a security issue with severity "moderate" and several bugs
  6. in 5.0.1. Also, the latest string translations from Transifex are incorporated.
  7. Bugfixes
  8. ========
  9. * Reallowed, following a regression in Django 5.0.1, filtering against local
  10. foreign keys not included in :attr:`.ModelAdmin.list_filter`
  11. (:ticket:`35087`).
  12. * Fixed a regression in Django 5.0 where links in the admin had an incorrect
  13. color (:ticket:`35121`).
  14. * Fixed a bug in Django 5.0 that caused a crash of ``Model.full_clean()`` on
  15. models with a ``GeneratedField`` (:ticket:`35127`).
  16. * Fixed a regression in Django 5.0 that caused a crash of
  17. ``FilteredRelation()`` with querysets as right-hand sides (:ticket:`35135`).
  18. ``FilteredRelation()`` now raises a ``ValueError`` on querysets as right-hand
  19. sides.
  20. * Fixed a regression in Django 5.0 that caused a crash of the ``dumpdata``
  21. management command when a base queryset used ``prefetch_related()``
  22. (:ticket:`35159`).