Django 6.1.3 release notes#

November 3, 2026

Django 6.1.3 fixes five security issues with severity “low”, one security issue with severity “moderate”, and several bugs in 6.1.2. It also adds compatibility with Python 3.15.

Bugfixes#

  • Fixed a regression in Django 6.1 where the YAML serializer crashed if passed the sort_keys option (#37405).

  • Fixed a regression in Django 6.1 where a Value expression with a None value and an output field other than JSONField crashed on SQLite when used in a top-level JSONField in lookup (#37403). Using such an expression in an IN lookup is likely unintended, since SQL NULL cannot match any value.

  • Fixed a regression in Django 6.1 where legend_tag() with a custom attrs could add the required_css_class more than once (#37463).

  • Added compatibility for oracledb 26.0.0+ (#37411).

  • Fixed a crash in makemessages on Windows when processing files with non-ASCII names on Python 3.15+, or with UTF-8 mode enabled on older Python versions (#37447).