News
Django 5.1 beta 1 released
Django 5.1 beta 1 is the second stage in the 5.1 release cycle and is an opportunity for you to try out the changes coming in Django 5.1.
Python 3.13.0 beta 3 released
Python 3.13.0b3 is the third of four beta release previews of 3.13. Beta release previews are intended to allow the wider community to test new features and bug fixes and prepare their projects to support the latest feature release.
PSF News: Announcing the PSF Board Candidates for 2024!
Voting for the PSF board starts on Tuesday, July 2nd.
PSF News: The Python Language Summit 2024: Python's security model after the xz-utils backdoor
Current discussions around the xz-utils backdoor and ways to avoid future situations in the Python space.
Updates to Django
Today 'Updates to Django' is presented by Farhan Ali Raza from Djangonaut Space!
Last week we had 13 pull requests merged into Django by 11 different contributors - including 5 first-time contributors! Congratulations to John Higgins, Ronny V., Stefan Ivic, Rosana Rufer from Djangonaut Space 🎉, and lotvall for having their first commits merged into Django - welcome on board!
Django forum discussions to check out:
- Adding CSP support to Django: This discussion is about adding built-in support for Content Security Policy(CSP), a crucial security feature that helps mitigate a range of attacks such as Cross-Site Scripting (XSS) and data injection attacks.
- Using Google re2 instead of re in Django: In
re
regexes are prone to REDoS attack that is solved bygoogle-re2
. - Ticket #13376 - Messages should have an expire flag
- Adding a template tag to generate query strings
New Features in Django 5.2:
Articles
Django Service Layers: Beyond Fat Models vs. Enterprise Patterns
A detailed argument on the benefits of a service layer instead of placing most logic in fat models.
Nested Subquerys in Django
Refactoring an initial loop that triggered one set of N+1 queries and, for each of those, another query that probably gets to NM+1 queries!
KISS Beats Accidental Complexity
Keeping things simple in an enterprise app using Django (mainly Model and Admin) and DRF.
Pivoting From React to Native DOM APIs: A Real World Example
How shifting from React to modern DOM APIs led to immediate speed and interaction improvements.
Events
Django Boston Meetup: How to build one-person businesses with Django
Cory Zue will be giving a talk on running multiple online businesses, most notably SaaS Pegasus, the SaaS Boilerplate for Django developers.
Design Articles
Web Components Can Be Simple (Part 1)
An example of replacing BEM-based CSS with custom-element-based modular CSS.
Videos
React + Django + Ninja Video Tutorial
Quickly build a Django app with django-ninja and React in under 15 minutes.
Semantic search with Django, PostgreSQL, & pgvector
Paolo Melchiorre gave a conference talk about semantic search with Django, PostgreSQL, and pgvector at POSETTE: An Event for Postgres 2024.
FAQs About the PSF Board
Sit down with current and former PSF Board members (including Jeff) as they discuss their experiences and insights while covering multiple FAQs about the PSF Board and the upcoming election.
Sponsored Link 2
Free Trial of Scout APM Today!
Need answers to your Django app questions fast? Avoid the hassle of talking with a sales rep and the long wait times of large support teams, and choose Scout APM. Get Django insights in less than 4 minutes with Scout APM.
Django News Jobs
Projects
paperless-ngx/paperless-ngx
A community-supported supercharged version of paperless: scan, index and archive all your physical documents.