Django 6 Introduces New Framework-Exclusive Features
Django 6.0 brings built-in background tasks, native Content Security Policy support, and template partials, eliminating the need for several third-party libraries.
The Django project released version 6.0 in December 2025, introducing several major features that enhance the Python web framework's capabilities without requiring external dependencies. The release marks a significant step toward built-in solutions for common web development challenges.
Built-In Background Tasks Framework
Django 6.0 ships with a native Tasks framework that enables developers to run code outside the HTTP request-response cycle. This eliminates the need for third-party solutions like Celery for common use cases such as sending emails or processing data in the background. The framework allows offloading work to background workers directly within Django's ecosystem.
Native Content Security Policy Support
The framework now includes built-in support for Content Security Policy (CSP), making it easier to protect applications against cross-site scripting and other content injection attacks. Developers can configure CSP policies using Python dictionaries and Django-provided constants through the new ContentSecurityPolicyMiddleware.
Template Partials and Modern Email API
Template partials allow developers to encapsulate and reuse named fragments within template files, supporting more component-based development patterns. Additionally, Django 6.0 adopts Python's modern email API centered around the email.message.EmailMessage class, offering a cleaner Unicode-friendly interface for email handling. The release supports Python 3.12, 3.13, and 3.14 while dropping support for Python 3.10 and 3.11.
Related Articles
Redis 8.4 Brings Hybrid Search, Atomic Multi-Key Operations, and Auto-Repair AOF
Redis 8.4 is now generally available, delivering hybrid search that combines full-text and vector queries using Reciprocal Rank Fusion, new atomic string commands like MSETEX and DELEX, and automatic repair for corrupted append-only files. Lookahead prefetching and JSON memory optimizations round out a performance-focused release.
Deno 2.7 Stabilizes Temporal API and Ships Native Windows ARM Builds
Deno 2.7 has stabilized the TC39 Temporal API, bringing immutable, timezone-aware date and time objects to replace the legacy JavaScript Date API. The release also delivers official Windows ARM builds for Surface and Snapdragon devices, npm overrides support, and global install compilation for standalone executables.
Laravel 13 Ships with PHP Attributes, Passkeys, and Zero Breaking Changes
Taylor Otwell unveiled Laravel 13 at Laracon EU, delivering PHP 8 Attributes as an alternative to class properties, built-in passkey authentication in starter kits, and a new Reverb database driver for horizontal WebSocket scaling. The release requires PHP 8.3+ and promises the smoothest upgrade path in Laravel history.