<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/django-6-0-release-notes-django-documentation-evjmanqgx" -->

---
title: Django 6.0 release notes | Django documentation | daily.dev
description: Django 6.0 introduces built-in Content Security Policy support for XSS protection, template partials for reusable fragments, and a background tasks framework...
canonical: https://daily.dev/posts/django-6-0-release-notes-django-documentation-evjmanqgx
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Django 6.0 release notes | Django documentation | daily.dev
og:description: Django 6.0 introduces built-in Content Security Policy support for XSS protection, template partials for reusable fragments, and a background tasks framework...
og:url: https://daily.dev/posts/django-6-0-release-notes-django-documentation-evjmanqgx
og:image: https://api.daily.dev/og/posts/EvjmanqGX.png
og:image:alt: Django 6.0 release notes | Django documentation
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Django 6.0 release notes | Django documentation

**[Hacker News](https://daily.dev/sources/hn)** · 14 min read · 0 upvotes · 0 comments

## Summary

Django 6.0 introduces built-in Content Security Policy support for XSS protection, template partials for reusable fragments, and a background tasks framework for offloading work. The release adopts Python's modern email API, adds async pagination, and improves GIS capabilities. It requires Python 3.12+ and drops MariaDB 10.5 support. Breaking changes include BigAutoField as the default primary key type and stricter ORM expression requirements. Several features are deprecated, including positional arguments in email APIs and PostgreSQL-specific aggregates now available across databases.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://docs.djangoproject.com/en/6.0/releases/6.0/>

## Similar posts on daily.dev

- [Django Releases Version 6.0 with Built-In Background Tasks and Native CSP Support](https://daily.dev/posts/django-releases-version-6-0-with-built-in-background-tasks-and-native-csp-support-7zemvasml) · InfoQ · 0 upvotes · 0 comments
- [Django 6.0 released\!](https://daily.dev/posts/django-6-0-released--hlksa4vxz) · Django News · 0 upvotes · 0 comments
- [Django 6.0 release candidate 1 released](https://daily.dev/posts/django-6-0-release-candidate-1-released-owiffaqvq) · Django News · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#webdev](https://daily.dev/tags/webdev), [#python](https://daily.dev/tags/python), [#backend](https://daily.dev/tags/backend), [#django](https://daily.dev/tags/django)

[View this post on daily.dev](https://daily.dev/posts/django-6-0-release-notes-django-documentation-evjmanqgx)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Django 6.0 release notes | Django documentation","url":"https://daily.dev/posts/django-6-0-release-notes-django-documentation-evjmanqgx","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/django-6-0-release-notes-django-documentation-evjmanqgx"},"datePublished":"2025-12-04T22:50:24.070Z","dateModified":"2025-12-04T22:51:05.056Z","description":"Django 6.0 introduces built-in Content Security Policy support for XSS protection, template partials for reusable fragments, and a background tasks framework...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/71538c3530bf6c6bbacb396cf5ffc721?_a=AQAEulh","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/71538c3530bf6c6bbacb396cf5ffc721?_a=AQAEulh","isAccessibleForFree":true,"articleSection":"Hacker News","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Hacker News","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/hn","url":"https://daily.dev/sources/hn"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/django-6-0-release-notes-django-documentation-evjmanqgx","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,webdev,python,backend,django","timeRequired":"PT14M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Hacker News","item":"https://daily.dev/sources/hn"},{"@type":"ListItem","position":3,"name":"Django 6.0 release notes | Django documentation"}]}
```

