Django community: RSS
This page, updated regularly, aggregates Community blog posts from the Django community.
-
MongoDB CRUD Operations with Python (PyMongo)
A practical, up-to-date guide to MongoDB CRUD operations in Python using PyMongo 4.x — connect, insert, query, update, delete, index, aggregate and run async, including the 3.x methods that were removed. -
How to Import Records in Salesforce Using Data Loader
Salesforce Data Loader imports, updates, upserts, and exports up to 5 million records through the API. Learn when to use it over the Data Import Wizard, how to set it up, import client records, upsert with an external ID to prevent duplicates, automate loads from the command line, and fix the most common errors. -
Understanding Python Properties: A Practical Guide to @property
A practical guide to Python's @property decorator: turn methods into managed attributes for computed values, validation, and read-only access without breaking your public API. Covers getters, setters, deleters, the property() form, functools.cached_property, descriptors, __slots__, and the pitfalls that bite real codebases. -
How to Create PDF Files in Python Using pdfkit (HTML to PDF)
Learn how to convert HTML into PDF files in Python using pdfkit and wkhtmltopdf, with install steps for every OS, working code for from_url/from_file/from_string, options, returning PDFs from Django and Flask, and an honest 2026 comparison with WeasyPrint, Playwright and ReportLab. -
AWS Lambda with S3 and DynamoDB: Event-Driven Pipeline Guide
A hands-on 2026 guide to building an event-driven AWS pipeline: a file lands in S3, Lambda processes it, and writes to DynamoDB. Modern Python 3.13 and boto3, least-privilege IAM, idempotency, error handling, and the common pitfalls (Decimal errors, recursive triggers, timeouts). -
Salesforce Integration: 10 Ways It Boosts Business Performance
Salesforce integration connects your CRM to ERP, accounting, marketing, support and AI systems so data flows automatically across the business. Here are 10 ways it lifts performance, the integration methods and APIs that make it work, the apps teams connect most, and the best practices that keep it reliable. -
Python yield and Generators: A Practical Guide (3.13)
A practical, up-to-date guide to Python generators and the yield keyword. Covers generator functions vs expressions, lazy evaluation and memory efficiency, next() and StopIteration, yield from delegation, send()/coroutines, async generators, and when generators are the wrong tool. -
Object-Oriented Programming in Python 3: A Practical Guide
A hands-on introduction to object-oriented programming in Python 3 (3.12/3.13). Covers the four pillars, classes and objects, instance/class/static methods, inheritance and MRO, duck typing, properties and encapsulation, abc.ABC abstraction, plus modern features like @dataclass, __slots__ and type hints. -
Running Fallout London on Bazzite
I’m a huge Fallout fan, and Fallout London is one of the most impressive mods I’ve seen in years: a full DLC-sized expansion set in post-apocalyptic London, made by a community team. Running it on Bazzite (my gaming OS of choice) wasn’t completely straightforward, so here’s what actually worked for me. Consider this a note to future me, but hopefully it saves someone else an afternoon of trial and error. What you’ll need Bazzite installed on your machine Heroic Games Launcher Fallout 4 (the mod requires it as a base) The “Fallout London One Click Mod” (available through Heroic) The steps 1. Install Heroic Games Launcher If you don’t have it yet, install Heroic from the Bazzite app store or via Flatpak. It’s a fantastic open-source launcher that handles GOG, Epic, and Amazon games, and it plays very nicely with Proton. After you install it, login with your GOG account 2. Install the Fallout London One Click Mod Search for “Fallout London” in Heroic and install the One Click Mod version. This bundles everything together so you don’t have to manually manage mod files. Let it do its thing. 3. Disable UMU (yes, it needs to be disabled) This is … -
Python Magic Methods (Dunder Methods): The Complete Reference
Magic methods (dunder methods) are the hooks Python calls under the hood for operators, printing, iteration, and context managers. This guide covers every major category for Python 3.12+, with a quick-reference table and a worked Vector example. -
Understanding self and __init__ in Python Classes
A clear, modern explainer of self and __init__ in Python classes — what self really is, why __init__ is an initializer (not a constructor), and the mistakes to avoid. -
Usage and configuring i3 window manager in Ubuntu
A practical 2026 guide to the i3 tiling window manager on Ubuntu, covering installation from the official repository, essential keybindings, workspaces, the i3status bar, and when to switch to Sway on Wayland. -
Logical optimizations
The second article in the series. The first was about control flow; this one stays with the same tactic — reshaping code — one layer down, at the condition. Here: merging ifs, factoring shared decisions, and dropping checks that earn nothing. The Boolean algebra of conditions — De Morgan and friends — is a different lever, and gets its own installment next time. -
Browser Push Notifications for a Django Website
For DjangoTricks, and some other websites, I intentionally didn't set email notifications when a feedback message arrived – I didn't want to pay for an email server or spam my inbox. While checking the messages in the database from time to time, sometimes I found out about them too late. Last weekend, I decided to implement Web Push notifications to get notified about the feedback in my OS, just like in this example: This tutorial walks through adding Web Push notifications to a Django project from scratch. When a visitor submits a feedback form the site owner receives a native browser notification — even if the admin tab is closed — thanks to a service worker and a Huey background task. How it works Push Notifications work in such a way: at first, people who want to get notifications need to subscribe to the notifications in their browser. The subscribers are stored on the push notification servers and also their identifiers are stored in Django website database. Whenever we need to send the messages to those subscribers, we send them to push notification server that passes the message to all subscribers if their browsers are open at the moment. If … -
Issue 340: Django security releases 6.0.6 and 5.2.15
News Django security releases issued: 6.0.6 and 5.2.15 Five CVEs are fixed in this latest release. As ever, perhaps the best security step you can take is to always update to the latest version of Django. Updates to Django Today, "Updates to Django" is presented by Hwayoung from Djangonaut Space! 🚀 Last week we had 13 pull requests merged into Django by 8 different contributors - including 4 first-time contributors! Congratulations to Vishwa, Tim Harris, Codequiver, and Joe Babbitt for having their first commits merged into Django - welcome on board! This week's Django highlights: 🦄 Deprecated the safe parameter of JsonResponse, as the browser vulnerability it protected against was fixed in ECMAScript 5. #36905 Releases Python Release Python 3.15.0b2 Python 3.15.0b2, the second beta of four, is out with an explicit push for third-party maintainers to test now and file issues as early as possible. The release targets feature-complete beta with no ABI changes after beta 4, and recommends delaying production releases until 3.15.0rc1. Python Software Foundation PSF Strategic Plan 2026 Draft: Open for Community Feedback PSF is publishing the full Strategic Plan 2026 draft and opening a three-week feedback window ending June 25. The board asks reviewers to … -
Anything new?
Anything new? A lot of time has passed since I officially announced that I want to step down from maintaining django-mptt. I started contributing around 2009, tagged the 0.3 release in April 2010, and have been the sole active maintainer since somewhere around 2019. The post about django-tree-queries has more background, but that’s not today’s topic. Stepping away isn’t easy For me, abandoning a project is a bit like stepping out of a relationship: negative emotions end up being a somewhat necessary driver, because the absence of positive events alone rarely provides enough force on its own. I get a lot of satisfaction from a job well done, and walking away means letting that go. Even with time set aside for open source in my work day, I still have to choose where that time goes. django-mptt stopped being where it needed to go. The sense of entitlement When a project is obviously unmaintained, asking for free labor is walking a tightrope. It takes real care not to rekindle exactly the frustrations that led maintainers away in the first place. It takes energy not to clap back when someone is being rude or insensitive in the issue tracker. Asking “Anything … -
You don't need React to be reactive — djust 1.0 is here
djust 1.0 is here — reactive UI for Django in pure Python. No client state, no JavaScript framework, no build step, no API layer. It brings the proven Phoenix LiveView model to Django with a Rust VDOM on the hot path. Try it live (multi-user, no install) at start.djust.org. -
Code is cheap
The first time I said “code is cheap” out loud in a meeting, a manager waved at the budget — headcount, salaries, the tooling line — and asked which part of that looked cheap. He wasn’t wrong about the number — he was wrong about what it was buying. -
My PyCon Italia 2026
A timeline of my PyCon Italia 2026 journey, in Bologna (IT), told through the Mastodon posts I shared along the way. -
Django: introducing django-integrity-policy
Back in January, Firefox’s Security & Privacy Newsletter for 2025 Q4 piqued my interest with this mention: Integrity-Policy: Firefox 145 has added support for the Integrity-Policy response header. The header allows websites to ensure that only scripts with an integrity attribute will load. A new security header! That’s right up my street: I’ve cared about getting security headers right since 2018, when I created django-permissions-policy to set the Permissions-Policy header. (At the time, it was called Feature-Policy: why they changed it, I can’t say, people just liked it better that way.) The new Integrity-Policy header helps with subresource integrity, a tool for securely including third-party scripts and stylesheets on your website. Browsers support the integrity attribute on <script> and <link> tags, which allows you to specify a hash of the expected content, like: <script src=https://cdn.jsdelivr.net/npm/htmx.org@4.0.0-beta4/dist/htmx.min.js integrity=sha384-aWZK1NtOs/aWb/+YZdTM8q2JkWEshlMc9mgZ189numT9bwFhyAyYEoO4nO/2dTXt crossorigin=anonymous></script> If the content downloaded from the external source doesn’t match the expected hash, the browser blocks it from loading. This is a great defense against the target URL changing its contents, executing a supply chain attack against your visitors. (Generally, I recommend you avoid loading anything from a third-party URL, per Reasons to avoid Javascript CDNs. But sometimes, you gotta do what you … -
Issue 339: Early Bird DjangoCon US Tickets Ending Soon
News DjangoCon US 2026: Early Bird Tickets End May 31st! Early bird ticket sales for DjangoCon US 2026 end on May 31, 2026, with discounted pricing available. The conference runs five days at Voco Chicago Downtown and includes community-selected talks plus Django contribution sprints. Wagtail CMS News Wagtail Space NL - June 12 A full-day conference in Rotterdam, The Netherlands on Wagtail, with talks covering a range of topics, lightning talks, hallway discussions, and more. Updates to Django Today, "Updates to Django" is presented by Pradhvan from Djangonaut Space! 🚀 Last week we had 16 pull requests merged into Django by 10 different contributors. This week's Django highlights: 🦄 Django's built-in error pages, admin, and registration templates now include the CSP nonce on <script>, <link>, and <style> elements when available. (#36825) Fixed HttpResponse.reason_phrase to raise BadHeaderError when set to a value containing control characters. (#37100) Fixed Query.clear_ordering() to recursively clear ordering on combined queries, preventing errors when using __in lookups on nested union() querysets. (#37097) Admin change form actions now use ModelAdmin.get_queryset(), ensuring custom annotations and filtering are consistently applied to form actions. (#37117) If you haven't already, give Django 6.1 alpha 1 a spin and report anything suspicious to … -
Please add an RSS Feed to Your Site
Why syndication feeds are having a moment in 2026. -
Mentoring GSoC 2026: Experimental Flags
Over the last couple of weeks, Google Summer of Code (GSoC) has started for 2026, I think along side my mentee, I will blog about it as we progress through the project. So far, there has been a kick-off meeting with all participants and I have started to chat with my mentee (Praful) about the first steps of our project - Experimental Flags. he has posted to the Forum about the project, asking for feedback on what we want from the project. Before I say anymore, please go and pitch your opinion and any ideas you may have, the more we have to work with the better! We need you! What set's this project apart from GSoC projects in recent years is that we have yet to have an agreed solution in place that 'just' needs implementing. So my initial guide will be to focus on consensus gathering and documentation. But being a GSoC project with a limited time availabilty, I do feel the need to push the process forward at a pace for consensus that is faster than the normal Django pace. That said, the potential for this project is wide and expansive, currently with a lot of open … -
Code linearization
You can find plenty of articles about design — where and how to use SQL, NoSQL, message queues, Redis, VMs, and so on. Almost nobody writes about tactics: the actual coding. It borders on style, but it isn’t just style. This is the first article in a series on tactics I use day to day. Highly opinionated — I don’t expect you to follow it. Look, chuckle, think about it, and use what you like. -
Issue 338: Django 6.1 alpha 1 released
News Django 6.1 alpha 1 released Django 6.1 alpha 1 has been released, signaling the next round of framework updates headed your way. Plan a quick test run in a staging environment so you can catch compatibility issues early as 6.1 develops. Wagtail CMS News Wagtail accessibility statistics for GAAD 2026 Wagtail accessibility statistics for GAAD 2026 give a focused look at how well your CMS setup supports real accessibility needs. Use the figures to spot gaps and prioritize the most impactful improvements. Updates to Django Today, "Updates to Django" is presented by Pradhvan from Djangonaut Space! 🚀 Last week we had 16 pull requests merged into Django by 11 different contributors - including 2 first-time contributors! Congratulations to somi and Kasey for having their first commits merged into Django - welcome on board! 🥳 This week's Django highlights: 🦄 Deprecated QuerySet.select_related() with no arguments, along with the corresponding admin options that relied on this implicit form. (#36593) RedirectView now supports a preserve_request attribute, letting redirects keep the original HTTP method and body by returning 307 or 308 instead of 302 or 301. (#37062) Admin actions are now also shown on the object edit page, allowing bulk actions to be …