Django 1.11 was released today. It is an LTS release (supported for three years) and is the first version to support Python 3.6. It includes three major new features: class-based model indexes, template-based widget rendering, and subquery expressions.
- Class-based model indexes: Django now provides an
Index
class that facilitates the creation of database indexes (example). - Template-based widget rendering: Form widget rendering is now template-based. You can override Django’s widgets’ HTML (listed here) to customize how inputs appear.
- Subquery expressions: You can now perform subqueries and use the SQL
EXISTS
statement using query expressions (i.e., without writing raw SQL).
The Django team also released 1.10.7, 1.9.13, and 1.8.18 to address two security issues.