Django Software Foundation

Python Software Foundation

Wagtail CMS News

Updates to Django

Today, "Updates to Django" is presented by Raffaella from Djangonaut Space! πŸš€

Last week we had 25 pull requests merged into Django by 13 different contributors - including 2 first-time contributors! Congratulations to 93578237 and Hossam Hassan for having their first commits merged into Django - welcome on board!

News in Django 6.1:

  • The new QuerySet.totally_ordered property returns True if the QuerySet is ordered and the ordering is deterministic.
  • HttpRequest.multipart_parser_class can now be customized to use a different multipart parser class.
  • StringAgg now supports distinct=True on SQLite when using the default delimiter Value(",") only.
  • first() and last() no longer order by the primary key when a QuerySet’s ordering has been forcibly cleared by calling order_by() with no arguments.

It's also fixed for Django 5.2 NameError when inspecting functions making use of deferred annotations in Python 3.14 (#36903).

Is deprecated in Django 6.0: Passing a string to the delimiter argument of the (deprecated) PostgreSQL StringAgg class is deprecated. Use a Value or expression instead to prepare for compatibility with the generally available StringAgg class.

Django Newsletter  

Articles





Events


Projects




Sponsorship