Python Web framework Django 3.0 Released, introducing support for asynchronous processing

December 2, The developer team of Python Web framework Django announced their latest major release Django 3.0.

Equipped with common features like user authentication, content management, sitemap, and RSS feed, Django is a Python-based framework which enables rapid development of web applications. It also provides superior scalability and security.

Django 3.0 is the latest major release after the previous version 2, which was released in December 2017. It supports Phthon 3.6 to 3.8.

This version is the first release aiming for full support for asynchronous code capability. This is enabled by running as an ASGI (Asynchronous Server Gateway Interface), the successor to WSGI. ASGI provides standards for both synchronous and asynchronous apps. WSGI support will continue for the foreseeable future, and you do not have to switch your apps over. Because this change, asynchronous event loops will be detected, and that will block you from calling code marked as “async unsafe”.

It supports MariaDB 10.1 and higher. Now ExclusionConstraint class can be used on PostgreSQL.

Now you can use filter expressions that output BooleanField directly in QuerySet filters. There is no need anymore to annotate before filtering.

As a way to define Field.choices, three custom enumerations types are now available: TextChoices, IntegerChoices, and Choices. There are many other detailed enhancements.

Django
https://www.djangoproject.com/