Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
My Django on the Med 2026 🏖️
From 23 to 25 September 2026, I hosted the second edition of Django on the Med in Pescara. This is what it meant to welcome the Django community to my hometown and find time to take part in the sprints myself. -
Django-related Deals for Black Friday 2026
Here are some Django-related deals for this year’s Black Friday (27th November) and Cyber Monday (30th November), including my own. I’ll keep this post up to date with any new deals I learn about. If you are also a creator, email me with details of your offer and I’ll add it :) My books My four books have a 50% discount on the individual license price, until the end of Cyber Monday (30th November), taking their prices from $44 to $22. This deal stacks with the bundle offers and purchasing power parity discount for those in lower-income countries. Individual books: Boost Your GitHub DX Boost Your Git DX Boost Your Django DX Speed Up Your Django Tests Bundles: Boost Your Git* DX Bundle - the Git and GitHub “Boost Your DX” books, $39 instead of $78 Boost Your DX Bundle - all three “Boost Your DX” books, $58.50 instead of $117 Aidas Bendoraitis’ paid packages Aidas Bendoraitis of djangotricks.com and Websightful has created three paid packages. Use the links below for a 50% discount. Django GDPR Cookie Consent - a customizable, self-hosted cookie consent screen. This package takes the pain out of setting up legally-mandated cookie banners and settings, without … -
Issue 364: 2027 DSF Board Nominations
News 2026 Malcolm Tredinnick Memorial Prize awarded to Raffaella Suardini We are pleased to announce that the 2026 Malcolm Tredinnick Memorial Prize has been awarded to Raffaella Suardini! 2027 DSF Board Nominations Five of the seven board seats are open, four two-year terms plus a one-year seat finishing out Jacob Kaplan-Moss's. You do not need to be a DSF member or to have served before. Nominations close December 2. Wagtail CMS News Join us for the Wagtail Space community day Friday closes out Wagtail Space as an unconference: you bring the topics, the organizers sort out the rooms. Roadmap Q&A, first contributions, UX, AI, packaging, and security are already on the list. Agent-friendly user docs for Wagtail Four new documentation formats for AI agents, based on weeks of testing. Djangonaut Space News Djangonaut Space Log 3: JS one-liners && backend Wasif Shahzad shares the latest steps in his journey, exploring JavaScript improvements and backend changes while working on his first PR for Django Debug Toolbar. Djangonaut Log 4: Avoiding asteroids "I tend to be the type of person who gets very excited about things I’m passionate about and Djangonaut Space — as you may have noticed through my blog posts … -
Code Is Not the Bottleneck - Johannes Maron
🔗 LinksJohannes Maron's WebsiteGitHub – codingjoePyPI – codingjoeJohannes Maron on LinkedInFOSS Fridays on Django DiscordOfficial Django Skills for LLMs (Django Forum)📚 BooksThe Practice of Programming by Brian W. Kernighan and Rob PikeBuild a Large Language Model (From Scratch) by Sebastian RaschkaThe Mythical Man-Month by Frederick P. Brooks Jr.📦 Projectsdjango-devbarthreadmillJohannes Maron's Open Source Projects🤝 SponsorThanks again to Laravel Cloud for sponsoring this episode. The team behind Laravel’s managed hosting platform has something big in the works, and we’ll share more here on the show in the coming weeks.🎥 YouTubeYouTube Channel: @djangochat -
Weeknotes (2026 week 47)
Weeknotes (2026 week 47) I haven’t done any blogging in the last 4 weeks. Instead, I’ve been writing a lot of code and have let the agent write even more code. I have finally managed to implement some tools I would have liked to implement a long time ago. Working with LLM agents The relationship with LLM agents doesn’t get any easier, I have to admit. That said, the quality argument against LLMs seems less and less plausible to me. Some people (especially on Mastodon) will say that’s because I’m losing view of what’s actually important. As I see it, human-written code was never perfect either (maybe apart from the Apollo Guidance Computer). I can actually do good and solve more problems for real users with more than acceptable code quality now and that seems like a net benefit to me. Governance – a Django app for Holacracy As some people may know, we are using Holacracy as our organizational model at Feinheit. Holacracy One, the company behind Holacracy, also offers a SaaS solution for managing the structure consisting of circles, roles, policies etc. The tool is unfortunately quite buggy and slow, and hasn’t improved in recent years – to … -
Issue 363: Wagtail's new API
News In Memoriam: Tim Peters, 1952-2026 Guido van Rossum shared the news that Tim Peters died on July 15. He wrote the Zen of Python (PEP 20) and gave Python Timsort, and as "Timbot" he answered countless questions and set the tone for early core development. Pythonistas are sharing their memories in the thread. Wagtail CMS News DRF vs Django Ninja: the Wagtail 8.1 API schema Wagtail's new API runs on Django Ninja, not DRF, and Sage Abdullah and Thibaud Colas explain why: schema generation is first-party rather than deprecated in favor of drf-spectacular, and Pydantic schemas follow the type hints Wagtail already uses. Djangonaut Space News Picking Up Django #26355, Part 1: Understanding the Problem Emanuel Jaimes explores Django ticket #26355, investigating previous implementation attempts and possible approaches to supporting PostgreSQL's array_append functionality in ArrayField. Landing My First Commit in Django Core. Goodluck Igbokwe shares his journey to his first Django core commit, exploring ImageField validation and the importance of understanding the code behind the documentation. Python Software Foundation Python 3.16.0 alpha 2 is now available uuid4() and uuid7() now have C implementations and run 15-30x faster, re picked up nested character sets, and startup and garbage collection are … -
Django: introducing django-launch-editor for jump-to-file debugging
I’ve made another package! django-launch-editor makes the file locations on Django’s debug error page into links that open your editor. Here’s how it looks, on a KeyError from the package’s example project: (Click to enlarge.) The change against stock Django is subtle, but can you spot the underlines on the file locations? They’re now links that open your editor at the right line, and even the right column when Python knows it. I think this is gonna be a neat time saver. Before, I would normally remember the filename and line number, then go open that in my editor. Or I would fiddle around copying the file path to then open it. Now it’s just a click! Setup is as easy as installing the package, setting Django’s DEFAULT_EXCEPTION_REPORTER setting to the package’s reporter class, and adding its URLs. See the README for the details. When DEBUG is False, the reporter adds nothing to error pages, and the URL isn’t even registered, so there’s zero overhead in production. When no editor is found django-launch-editor launches your editor from the Django server process, so it can only launch an editor directly when you run Django on the same machine as your editor. … -
Issue 362: Django 6.1.3, 6.0.10, and 5.2.19 Security Releases
News Django security releases issued: 6.1.3, 6.0.10, and 5.2.19 Six CVEs, three of them in GeoDjango: two server-side request forgery holes where GDAL resolved URLs or files from GeoJSON CRS members and SpatialReference strings (full protection needs GDAL 3.9+, flagged by the new gis.W001 check), plus log injection through GeometryField. The rest cover base64 uploads that ignored FILE_UPLOAD_MAX_MEMORY_SIZE, cache keys that confused missing and empty Vary headers, and password hashes shown to view-only admin users. Upgrade soon. Django Software Foundation Django Steering Council Meeting, November 2 The Steering Council met with the Fellows ahead of the mid-January feature freeze, with Carlton Gibson aiming to land the async transactions PR before then. They also weighed what to do now that sqlparse is no longer maintained (it backs --debug-sql and inspectdb), how to surface DEP discussions on the Forum, and GSoC 2027 ideas. Python Software Foundation Announcing new Security Developer at the PSF Brett Smith, formerly of the W3C and Software Freedom Conservancy, joins Seth Larson and Mike Fiedler on the PSF security team in a new role funded by Anthropic. The Python Security Response Team is handling 3-4× last year's volume of reports and CVEs, and PyPI malware is up 60%, … -
Databases, Django APIs, and AI - Haki Benita
🔗 LinksHaki Benita's WebsiteDjango NinjaReliable Django Signals (DjangoCon Europe 2026)Workshop: Advanced Indexing and Concurrency in Django and PostgreSQL (DjangoCon Europe 2026)Don't Blame the ORM: Advanced Indexing in PostgreSQL (PyCon Italia 2026)How to Get Foreign Keys Horribly Wrong (DjangoCon Europe 2025)Unlocking the Full Potential of PostgreSQL Indexes in Django (DjangoCon Europe 2021)One Database Transaction Too Many📚 BooksIn the Distance by Hernán DíazDjango for Beginners, 6th Edition by William S. VincentStoryworthy by Matthew Dicks📦 ProjectsDjango Admindjango-rosettaDjango New Features🤝 SponsorThanks again to Laravel Cloud for sponsoring this episode. The team behind Laravel’s managed hosting platform has something big in the works, and we’ll share more here on the show in the coming weeks.🎥 YouTubeYouTube Channel: @djangochat -
Taking Website Screenshots with Django, Celery, and Playwright
This tutorial looks at how to build a Django app that takes website screenshots using Playwright and Celery. -
How Caktus Runs and Uses Local Models
As a research project this year at Caktus, we’ve been experimenting with serving open-weight language models on our own hardware. In this post, we’ll walk through the hardware, the Docker Compose stack that serves our models, the Gemma and Qwen configurations we tested, our benchmarks, and the configurations we use in pi.dev and VS Code. -
Issue 361: DjangoCon Europe and DjangoCon US 2026 Videos Are Out
News Python 3.15.2, 3.14.10, 3.13.18, 3.12.16, and 3.11.18 are out A second round of expedited security releases, five days after the last: the ssl module now blocks the compromised eMudhra intermediate CA keys outright, so pip is protected even before you upgrade it. They also fix a tarfile.tar_filter bypass using links that replace the destination and reject negative-version cookies in http.cookiejar. Announcing PSF Community Service Award Recipients! Five new Community Service Awards go to Abhijeet Mote, Elena Williams, Hugo van Kemenade, Kevin Horn, and Sarah Abderemane. Two are familiar Django names: Elena organized the second Django Girls event ever held and now sits on Django's Code of Conduct committee, and Sarah co-founded Djangonaut Space, maintains djangoproject.com, and served as DSF Vice President in 2025. Django Software Foundation Natalia Bidart - Planned short-term leave After more than three years as a Django Fellow, Natalia is taking November through January off to rest and recover, with the other Fellows and Django's teams and working groups covering in the meantime. She returns in February, ready to serve as release manager for Django 2028. Python Software Foundation Higher limits for organization projects Projects owned by a PyPI organization now get 200 MB per file … -
Issue 360: Python and Wagtail Security Releases
News Python 3.15.1, 3.14.9 and 3.13.17 are now available Expedited security releases on October 21, carrying pip 26.2.2 and certifi 2026.10.19 to drop the compromised eMudhra CA. 3.13 is the odd one out: it had just entered security-only mode, where pip is not normally updated, so the team cut fresh installers anyway. 3.15.1 is also 3.15's first maintenance release, with roughly 330 fixes from 117 contributors. Information for Python users regarding the eMudhra / emSign CA certificate security incident The emSign root was pulled from CA bundles after eMudhra's intermediate keys turned out to be insecure, leaving older clients open to man-in-the-middle attacks against PyPI and python.org. Upgrade now: certifi 2026.10.19, pip 26.2.2, uv 0.13.4, sigstore 4.5.1, in every virtualenv and container image. pip is the one that matters most, since it always trusts its vendored bundle and distrusting the CA at the OS level will not help. Eight Bits of Trust: eMudhra's CA Keys Cracked in Milliseconds The technical story behind the advisory, and it is remarkable: each P-384 private key was 47 zero bytes followed by one non-zero byte, so Scott Helme recovered all eight in under a second on a laptop by trying 255 candidates. eMudhra blames … -
How I decide which Python and Django versions I want to support
How I decide which Python and Django versions I want to support A recent post on Mastodon got me thinking about what my philosophy for dropping support for old versions of Python and Django is. Here’s the post: 🚨 Important Announcement 🚨 Going forward all my packages will only “officially” support maintained #Python versions. Meaning since October only 3.14 and now 3.15. This has no effect on Django version support. CVEs will be backported to older 🐍 releases. – @codingjoe I tend to support versions long past their End of Life date. I jokingly said that I should spend time upgrading old websites instead of spending time writing a rationale why not. I don’t want to argue for my position, but maybe this post will serve as the place to point people towards when the question arises again in the future. The short answer: it depends on whether I’m working on a project, on my own machine or on a library. Projects When working on projects I’m always updating to the current stable version or even the bleeding edge. I want the projects to be as future-proof as possible and I also want to give early feedback when stuff breaks. … -
Django in Space - Loes Crama
🔗 LinksLoes on LinkedIncosineDjangocon EU: How Django is helping to build the biggest X-ray observatory to date - Loes Crama📦 ProjectsMarimodjango-sesdjango-anymail📚 BooksWeapons of Math Destruction by Cathy O'NeilSlouching Towards Utopia by J. Bradford DeLong🎥 YouTubeYouTube Channel: @djangochat -
Issue 359: Python 3.15 Is Here and Python 3.16 Alpha 1
News Python 3.15.0 (final) is here! Python 3.15 is out, with explicit lazy imports (PEP 810), built-in frozendict and sentinel types, UTF-8 as the default encoding, and a JIT that runs 7-12% faster depending on the platform. If you use IDLE or tkinter on macOS 27, read the release notes first: menu dialogs can hang. Python 3.16.0 alpha 1 is now available The first of seven alphas for Python 3.16 is out, with features landing until the May 4, 2027 beta and the final release planned for October 5, 2027. Library maintainers are invited to start testing now. Django Software Foundation Django Steering Council Meetings - 2026 Notes from the October 5 meeting with the Fellows: the set-returning DEP needs reviewers, every memcached Python client is now defunct, and Python 3.15 support raises questions about makedirs permission semantics. PyPy 8.0 support and the Sovereign Tech Fund's resilience program were also on the agenda. Wagtail CMS News We have a stellar group of speakers for Wagtail Space 2026 The schedule is out for this year's online, half-day Wagtail Space, opening with Thibaud Colas's State of Wagtail. Talks cover running Wagtail at scale on Kubernetes, measuring a site's web emissions, agent readiness, … -
Django: check version support with norwegianblue
Django projects end up slotting into a bunch of software release cycles: Django itself, Python, database servers, cache servers, and more. It can be hard for us developers to keep track of all of them, with their different support policies and end-of-life dates, and running an unsupported version means missing out on important security or bug fixes. norwegianblue is a handy command-line tool for checking software support dates. It fetches data from endoflife.date, a community-maintained database of release cycles for hundreds of products, and displays it as a colour-coded table. It’s from Hugo van Kemenade, the Python 3.14 and 3.15 release manager, and named after the deceased parrot from Monty Python’s infamous Dead Parrot sketch. Let’s look at checking the release cycles for Django, Python, PostgreSQL, and other relevant tools with it. Install it norwegianblue provides two commands: norwegianblue and the shorter alias eol. I recommend the alias, since it’s easier to type and remember, and will use it throughout this post. To make both commands available everywhere, install norwegianblue globally. If you use uv, do so with uv tool install: $ uv tool install norwegianblue Otherwise, install it with your preferred tool, such as a global pip install or … -
Pycon NL keynote: believe in routes - Marcelo Trylesinski
(One of my summaries of the 2026 one-day Pycon NL conference in Utrecht, NL). Routes: not every route starts the way people think. Here's his route through life. You might know Marcelo from uvicorn, fastapi, starlette, logfire, Pydantic AI, MCP Python SDK, httpx2... It started for him in 2017 when he played league of legends for a full semester and failed all courses. This closed his main route: graduating on time and getting the expected job. Instead he got a good-enough job somewhere in Florianópolis (Brazil). What was your closed route? It might be a degree you didn't finish. A field that changed under you. A job you didn't get. A move. One thing he wants to talk about: curiosity needs a direction. You might be curious, but where does it get you? You might have a direction (like a degree plus the expected job), but direction alone, what does it get you? But if you have both curiosity and direction: that's nice. Marcelo was curious in open source. What helped him a lot was to get involved. With open source you can look at issues and start fixing them and slowly getting more and more involved. In 2020, the … -
Pycon NL: 3D data science with Python - Sergio Peral
(One of my summaries of the 2026 one-day Pycon NL conference in Utrecht, NL). Why Python for 3D? It often used to be done in C++. He showed an example in C++ and Python: the Python example was much shorter. But: Python is often only the interface, behind the scenes the library you use is often written in C/C++/Rust/etc. The library landscape. There are many libraries you can use. Loading and storing: laspy, pdal, pyproj. Arays and speed; numpy, scipy, numba, dask. Processing: open3d, trimesh. Visualisation: pyvista, vtk. Learning: scikit-learn, pytorch3d. One real pipeline. He used a pointcloud of part of the Jaarbeurs complex (where the conference was taking place), sourced from the Dutch public https://ahn.nl data source. The density is about 18 points per square meter and it uses some Dutch coordinate system ("RD New"). A point cloud is just a set of points in 3D space. You can also represent it as a mesh (3d areas). A "voxel grid" is also often handy: you convert what you're seeing into small stacked cubes. What you need to do in a project: acquisition, preparation, exploration, analysis, visualisation. No single library does the whole job. A partial exception is numpy: every … -
Pycon NL: practical observability - Daria Korsakova
(One of my summaries of the 2026 one-day Pycon NL conference in Utrecht, NL). Full title: stop firefighting: practical observability for Python APIs, workers & jobs. The most important points: What does it mean for a system to be observable? Does that answer look the same for an API, a worker and a job? Metrics tell us something is wrong, but how do we find out what happened and where? How do we get the system to tell us, before our users do? Where do we actually start without doing everything at once? They started with a prototype of a new system. They had questions like "does it work" and "is it fast enough". So they added a bit of monitoring: just a couple of logs and some simple graphs. And pushed it to production right away... What does "observable" mean? It means you can answer questions like: is it up? Is it ready to serve traffic? Is it doing useful work? Is it failing? Is it slow? What changed recently? Which dependency/workload/customer/job/event-type is involved? Is the answer the same for everything? No. You can have an API that restarts just fine on an error. So: it is up again, … -
Pycon NL: practical software architecture for Python developers - Henk-Jan van Hasselaar
(One of my summaries of the 2026 one-day Pycon NL conference in Utrecht, NL). First some terminology. Cohesion and coupling for instance. Cohesion means how much the elements in a module belong together. "Belonging together": working towards the same goal or function. Watch out what your answer is: is there an "and" in the sentence. "This module reads data and puts it in the database". That's a sign of lower cohesion. Cohesion also has to do with your mental load: what can you keep in your head at the same time? Coupling. Basically the blast radius: how much breaks when you change an object. Change. Not often talked about. Architecture is more than diagrams. Architecture actually is making future changes cheaper. No change, no pain. Loose coupling, high cohesion is good. Tightly coupled, low cohesion is bad. Python allows us lots of freedom. There is no enforcement of architectural boundaries. You have type hints, but they're not enforced. Python's basic assumption is that we're all reasonable and responsible programmers. Let's look at an example problem. We have "the internet" that calls "our REST API" that stores stuff in "our database". We start with a single function in our API that … -
Pycon NL: zero-downtime multi-tenancy in Django - Thiago Bellini Ribeiro
(One of my summaries of the 2026 one-day Pycon NL conference in Utrecht, NL). Full title: zero-downtime multi-tenancy in Django: from user-centric to organizations-based architecture. He works for Sendcloud. Originally their code was 2010-style Django. Every business object (Parcel, Order, etc) is linked to a django User. But... users can belong to organisations and organisations should be the ones connected to the business objects. Ok, they moved to a "core" user and "sub" users. But still users could only belong to a single organisation, for instance. What they actually need is many users per organisation. And also many orgs per user. Roles per membership instead of per user. They designed a new system based upon this. But: they had around 20 Django apps and 40 models with a link to user_id. How to migrate? The solution was to use a "proxy model". They started an "organisation" model that simply was a differently named Django model, pointing at the same table as the existing user model. This allowed them to keep almost everything the same with only minimal database migrations. After that, they moved a little bit of functionality over to the new organisation model. Again, a small, minimal database migration. … -
Pycon NL keynote: sustaining open source for the future - Georgi Ker
(One of my summaries of the 2026 one-day Pycon NL conference in Utrecht, NL). This year is the first community-organized Pycon NL: hurray! Most of us use open source as users. It is free! But all those open source projects only exist because someone started it and because someone maintains it. "Care became contagious": she told the story about someone in Mumbay, India that started to clean up plastic waste that covered the whole beach. He and a 84 year old neighbor. Slowly other people joined in. Then a lot more. Care became contagious! Python started when Guido van Rossum made a new language in his Christmas holiday. But projects like this are fragile. The beach cleanup (almost?) stopped after 109 weeks: administrative lethargy, heckling, etc. (She said it stopped, but I guess it almost stopped, as later on she had photos of a clean beach with newly-hatched turtles). If you start a nice open source project, you're probably not thinking my dream is to answer Github issues for the next 20 years. Sustainability is not endurance. Sustainability is regeneration. Joining a community, but also having the option to leave (just as an example). Open source is safe. In open … -
Pycon NL: building resumable Python pipelines - Yuvraj Singh Pathania
(One of my summaries of the 2026 one-day Pycon NL conference in Utrecht, NL). Full title: fire, forget, regret: building resumable Python pipelines. If you run a task in an async loop, there's often no reference to the task. So it can be garbage collected! You can solve that by keeping a reference in some list. But even then, the whole process can die. What happens with your task then? Often you have to re-run the task. He himself is into LLMs, so failed tasks that you have to re-run can become expensive. BackgroundTasks is part of FastAPI and it works great for spinning off longer running tasks. Real handy, but there is no retry mechanism and no recoverability in case of crashes. "Fire-and-forget". You can use specific task queues. ARQ, Celery, Dramatiq. In this case, the job itself is safe and can be re-tried. But not the individual steps within the job. What he wants is durable execution. Write down every step you finish; on restart, skip what is written. It can save you lots of time (and possibly money). It might be simpler to set up than you think. His code + slides are at https://github.com/batman004/fire-forget-regret Unrelated photo … -
Pycon NL: what's inside an asyncio event loop? - Taras Kozlov
(One of my summaries of the 2026 one-day Pycon NL conference in Utrecht, NL). An asyncio event loop is defined by asyncio.AbstractEventLoop. That's a large API with more than 50 public methods, but only three are fundamental. At the lowest useful leve, the loop manages callbacks, i/o and timers. We need a way to put events on a queue and a way to grab events from a queue and execute them. call_soon() We need timers too, for callbacks that must be run after some time. call_later() Sleep only knows about time. Often we want to sleep until the next time, unless a socket becomes ready first. So we need a "sleep" that can be interrupted by I/O readiness. add_reader(), add_writer() His own example implementation of asyncio for educational purposes is at: https://github.com/tarasko/eduloop , it is only 250 lines. Handy if you want to understand asyncio. He showed this simple example code, incrementally implementing the points above. The nice thing about asyncio is coroutines. A coroutine is an extended kind of function that can be paused and resumed. The result is a "future". A future represents an eventual result of an async operation. So: a future is pending until somebody supplies …